Install pkg-config file on MINGW also

Mingw follows unix conventions and often expects pkg-config files to be present.
dev
Tony Theodore 2020-06-02 18:18:40 +10:00 committed by GitHub
parent e7948fdf84
commit 53fe73a720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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}")