1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Subject: [PATCH] cmake: Install pkgconfig files in mingw

This commit is contained in:
Biswapriyo Nath 2021-09-08 19:39:53 +05:30 committed by Andy Green
parent c52f909961
commit d1ce42e72c

View file

@ -278,7 +278,7 @@ install(TARGETS ${LWS_LIBRARIES}
set(CPACK_COMPONENT_DEV_DISPLAY_NAME "Development files" PARENT_SCOPE)
if (UNIX)
if (UNIX OR MINGW)
# figure out pkfcfg required libs here
@ -340,7 +340,7 @@ endif()
install(FILES "${PROJECT_BINARY_DIR}/libwebsockets_static.pc"
DESTINATION lib${LIB_SUFFIX}/pkgconfig)
endif(UNIX)
endif(UNIX OR MINGW)
# Keep explicit parent scope exports at end