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:
parent
e7948fdf84
commit
53fe73a720
@ -134,7 +134,7 @@ if (ZSTD_BUILD_STATIC)
|
|||||||
OUTPUT_NAME ${STATIC_LIBRARY_BASE_NAME})
|
OUTPUT_NAME ${STATIC_LIBRARY_BASE_NAME})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX OR MINGW)
|
||||||
# pkg-config
|
# pkg-config
|
||||||
set(PREFIX "${CMAKE_INSTALL_PREFIX}")
|
set(PREFIX "${CMAKE_INSTALL_PREFIX}")
|
||||||
set(LIBDIR "${CMAKE_INSTALL_LIBDIR}")
|
set(LIBDIR "${CMAKE_INSTALL_LIBDIR}")
|
||||||
|
Loading…
Reference in New Issue
Block a user