summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-06-21 17:06:27 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-06-21 22:14:51 +0200
commit623fed924c415f93aac75296e4e6a71a830586ec (patch)
tree9edbc58786867519b33a4c7f9a093668c6d4afa8
parent788590ec7357d968f1acafd7e4a2bba728c84a68 (diff)
cmake: find pkg-config on unix
-rw-r--r--cmake/opentrack-platform.cmake4
1 files changed, 4 insertions, 0 deletions
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()