Skip to content

Commit

Permalink
Windows build fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralight committed Sep 17, 2019
1 parent ee962ce commit fe3b73a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion installer/mosquitto64.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Section "Files" SecInstall
SectionEnd

Section "Service" SecService
ExeWait '"$INSTDIR\mosquitto.exe" install'
ExecWait '"$INSTDIR\mosquitto.exe" install'
SectionEnd

Section "Uninstall"
Expand Down
2 changes: 1 addition & 1 deletion lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ set_target_properties(libmosquitto PROPERTIES
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)
add_library(libmosquitto_static STATIC ${C_SRC})
Expand Down
2 changes: 1 addition & 1 deletion lib/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set_target_properties(mosquittopp PROPERTIES
VERSION ${VERSION}
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)
add_library(mosquittopp_static STATIC
Expand Down

0 comments on commit fe3b73a

Please sign in to comment.