1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +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 372fdc7184
commit cced56b2ad

View file

@ -282,7 +282,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
@ -344,7 +344,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