Skip to content

Commit

Permalink
Merge pull request #2373 from podsvirov/install-libmosquittopp-archive
Browse files Browse the repository at this point in the history
Set ARCHIVE DESTINATION for mosquittopp library
  • Loading branch information
ralight committed Nov 15, 2021
2 parents e52ebf8 + 6187143 commit 864b77d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ set_target_properties(mosquittopp PROPERTIES
VERSION ${VERSION}
SOVERSION 1
)
install(TARGETS mosquittopp RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
install(TARGETS mosquittopp
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")

if (WITH_STATIC_LIBRARIES)
add_library(mosquittopp_static STATIC
Expand Down

0 comments on commit 864b77d

Please sign in to comment.