mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-21 07:57:55 +08:00
14 lines
602 B
Diff
14 lines
602 B
Diff
|
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
||
|
index 221c230..1bd4e96 100644
|
||
|
--- a/lib/CMakeLists.txt
|
||
|
+++ b/lib/CMakeLists.txt
|
||
|
@@ -89,7 +89,7 @@ set_target_properties(libmosquitto PROPERTIES
|
||
|
SOVERSION 1
|
||
|
)
|
||
|
|
||
|
-install(TARGETS libmosquitto RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
||
|
+install(TARGETS libmosquitto RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
||
|
|
||
|
if (WITH_STATIC_LIBRARIES)
|
||
|
add_library(libmosquitto_static STATIC ${C_SRC})
|