From 623fed924c415f93aac75296e4e6a71a830586ec Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 21 Jun 2019 17:06:27 +0200 Subject: cmake: find pkg-config on unix --- cmake/opentrack-platform.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/opentrack-platform.cmake b/cmake/opentrack-platform.cmake index 7a76276b..04b220f6 100644 --- a/cmake/opentrack-platform.cmake +++ b/cmake/opentrack-platform.cmake @@ -161,3 +161,7 @@ if(APPLE) add_link_options(-framework Cocoa -framework CoreFoundation -framework Carbon) link_libraries(objc z) endif() + +if(NOT MSVC) + include(FindPkgConfig) +endif() -- cgit v1.2.3