Windows build fixes.

This commit is contained in:
Roger A. Light 2019-04-30 14:33:18 +01:00
parent e742c1c2f1
commit b6dc98215a
3 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ Section "Files" SecInstall
SectionEnd SectionEnd
Section "Service" SecService Section "Service" SecService
ExeWait '"$INSTDIR\mosquitto.exe" install' ExecWait '"$INSTDIR\mosquitto.exe" install'
SectionEnd SectionEnd
Section "Uninstall" Section "Uninstall"

View File

@ -89,7 +89,7 @@ set_target_properties(libmosquitto PROPERTIES
SOVERSION 1 SOVERSION 1
) )
install(TARGETS libmosquitto LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") install(TARGETS libmosquitto RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
if (WITH_STATIC_LIBRARIES) if (WITH_STATIC_LIBRARIES)
add_library(libmosquitto_static STATIC ${C_SRC}) add_library(libmosquitto_static STATIC ${C_SRC})

View File

@ -13,7 +13,7 @@ set_target_properties(mosquittopp PROPERTIES
VERSION ${VERSION} VERSION ${VERSION}
SOVERSION 1 SOVERSION 1
) )
install(TARGETS mosquittopp LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}") install(TARGETS mosquittopp RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
if (WITH_STATIC_LIBRARIES) if (WITH_STATIC_LIBRARIES)
add_library(mosquittopp_static STATIC add_library(mosquittopp_static STATIC