From: Matthew Barr Date: Mon, 29 Feb 2016 23:56:22 +0000 (+1100) Subject: Install pkgconfig file everywhere but Windows X-Git-Tag: v4.2.0^2~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5537f9da786e00f9842f3dbe580e85cbeb8d2f8b;p=thirdparty%2Fvectorscan.git Install pkgconfig file everywhere but Windows --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ae459d8..5fb946eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,8 +340,7 @@ endif() configure_file(${CMAKE_MODULE_PATH}/config.h.in ${PROJECT_BINARY_DIR}/config.h) configure_file(src/hs_version.h.in ${PROJECT_BINARY_DIR}/hs_version.h) -if (PKG_CONFIG_FOUND) - # we really only need to do this if we have pkg-config +if (NOT WIN32) configure_file(libhs.pc.in libhs.pc @ONLY) # only replace @ quoted vars install(FILES ${CMAKE_BINARY_DIR}/libhs.pc DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")