Commit 88a338a3 authored by Alexander Alekhin's avatar Alexander Alekhin

cmake: disable pkg-config for Apple frameworks

parent eaba0e63
......@@ -519,7 +519,9 @@ endif(WIN32 AND NOT MINGW)
# CHECK FOR SYSTEM LIBRARIES, OPTIONS, ETC..
# ----------------------------------------------------------------------------
if(UNIX)
if(NOT APPLE_FRAMEWORK)
find_package(PkgConfig QUIET)
endif()
include(CheckFunctionExists)
include(CheckIncludeFile)
......
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