]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Install pkgconfig file everywhere but Windows
authorMatthew Barr <matthew.barr@intel.com>
Mon, 29 Feb 2016 23:56:22 +0000 (10:56 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Tue, 1 Mar 2016 00:42:49 +0000 (11:42 +1100)
CMakeLists.txt

index 7ae459d84009648325d5afec755529790c8a3389..5fb946eb450f70f239a5f987b035b584b209599b 100644 (file)
@@ -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")