mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
cmake: disable pkg-config for Apple frameworks
This commit is contained in:
parent
eaba0e6358
commit
88a338a3eb
@ -519,7 +519,9 @@ endif(WIN32 AND NOT MINGW)
|
||||
# CHECK FOR SYSTEM LIBRARIES, OPTIONS, ETC..
|
||||
# ----------------------------------------------------------------------------
|
||||
if(UNIX)
|
||||
find_package(PkgConfig QUIET)
|
||||
if(NOT APPLE_FRAMEWORK)
|
||||
find_package(PkgConfig QUIET)
|
||||
endif()
|
||||
include(CheckFunctionExists)
|
||||
include(CheckIncludeFile)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user