Commit 60723164 authored by Maksim Shabunin's avatar Maksim Shabunin

Merge pull request #9914 from alalek:fix_cmake_xcode

parents 91323549 0622146a
......@@ -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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment