diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 7dcc05c3b..88f14fa19 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -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