From: Tony Theodore Date: Tue, 2 Jun 2020 08:18:40 +0000 (+1000) Subject: Install pkg-config file on MINGW also X-Git-Tag: v1.4.7~120^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2183%2Fhead;p=thirdparty%2Fzstd.git Install pkg-config file on MINGW also Mingw follows unix conventions and often expects pkg-config files to be present. --- 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}")