From ae672b16966e2af8033f14fc28d1bb8ad11cf15d Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Wed, 16 Dec 2015 14:57:33 -0700 Subject: Remove FindPkgConfig from Windows build to stop error messages --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e4f7bfd..424ce5bd 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,7 +47,9 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") # Header file for CMake settings include_directories("${PROJECT_SOURCE_DIR}/include") -include(FindPkgConfig) +if(NOT WIN32) + include(FindPkgConfig) +endif() set (CMAKE_INSTALL_PREFIX "") -- cgit v1.2.3