Skip to content

Commit

Permalink
Set ARCHIVE DESTINATION for mosquitto library
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantin Podsvirov <[email protected]>
  • Loading branch information
podsvirov committed Nov 6, 2021
1 parent 46a6c5d commit b34817c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ 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}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")

if (WITH_STATIC_LIBRARIES)
add_library(libmosquitto_static STATIC ${C_SRC})
Expand Down

0 comments on commit b34817c

Please sign in to comment.