mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
cmake: disable generation of pkg-config file during Xcode build
This commit is contained in:
parent
cca99bf824
commit
0622146a93
@ -793,7 +793,8 @@ endif()
|
|||||||
include(cmake/OpenCVGenHeaders.cmake)
|
include(cmake/OpenCVGenHeaders.cmake)
|
||||||
|
|
||||||
# Generate opencv.pc for pkg-config command
|
# 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)
|
include(cmake/OpenCVGenPkgconfig.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user