提交 0622146a 编写于 作者: A Alexander Alekhin

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

上级 cca99bf8
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册