cmake: disable generation of pkg-config file during Xcode build

pull/9914/head
Alexander Alekhin 7 years ago
parent cca99bf824
commit 0622146a93
  1. 3
      CMakeLists.txt

@ -793,7 +793,8 @@ endif()
include(cmake/OpenCVGenHeaders.cmake)
# Generate opencv.pc for pkg-config command
if(NOT OPENCV_SKIP_PKGCONFIG_GENERATION)
if(NOT OPENCV_SKIP_PKGCONFIG_GENERATION
AND NOT CMAKE_GENERATOR MATCHES "Xcode")
include(cmake/OpenCVGenPkgconfig.cmake)
endif()

Loading…
Cancel
Save