diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index f9553fd8c..19dc0cf64 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -340,7 +340,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} "