Merge pull request #2183 from tonytheodore/patch-1

Install pkg-config file on MINGW also
This commit is contained in:
Yann Collet 2020-07-10 01:20:59 -07:00 committed by GitHub
commit 865ecf67ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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