From 53fe73a720521685a7a6211b5e096149cf402ffa Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Tue, 2 Jun 2020 18:18:40 +1000 Subject: [PATCH] Install pkg-config file on MINGW also Mingw follows unix conventions and often expects pkg-config files to be present. --- build/cmake/lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/lib/CMakeLists.txt b/build/cmake/lib/CMakeLists.txt index b9e221595..9552cc67f 100644 --- a/build/cmake/lib/CMakeLists.txt +++ b/build/cmake/lib/CMakeLists.txt @@ -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}") -- 2.47.2