]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Install pkg-config file on MINGW also 2183/head
authorTony Theodore <tonyt@logyst.com>
Tue, 2 Jun 2020 08:18:40 +0000 (18:18 +1000)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2020 08:18:40 +0000 (18:18 +1000)
Mingw follows unix conventions and often expects pkg-config files to be present.

build/cmake/lib/CMakeLists.txt

index b9e221595503165f0cdd8a2bc663168739cfad7e..9552cc67f47f423d51db84caea3c59bc515ccc1c 100644 (file)
@@ -134,7 +134,7 @@ if (ZSTD_BUILD_STATIC)
             OUTPUT_NAME ${STATIC_LIBRARY_BASE_NAME})
 endif ()
 
-if (UNIX)
+if (UNIX OR MINGW)
     # pkg-config
     set(PREFIX "${CMAKE_INSTALL_PREFIX}")
     set(LIBDIR "${CMAKE_INSTALL_LIBDIR}")