Install pkg-config file on MINGW also

Mingw follows unix conventions and often expects pkg-config files to be present.
This commit is contained in:
Tony Theodore
2020-06-02 18:18:40 +10:00
committed by GitHub
parent e7948fdf84
commit 53fe73a720
+1 -1
View 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}")