cmake: disable pkg-config for Apple frameworks

pull/8234/head
Alexander Alekhin 8 years ago
parent eaba0e6358
commit 88a338a3eb
  1. 4
      CMakeLists.txt

@ -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…
Cancel
Save