diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 4207d9472..8d21c1240 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -343,7 +343,7 @@ Name: libwebsockets_static Description: Websockets server and client static library Version: ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH} -Libs: -L\${libdir} -lwebsockets_static +Libs: -L\${libdir} -l:libwebsockets${CMAKE_STATIC_LIBRARY_SUFFIX} Libs.private: Cflags: -I\${includedir} "