mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-23 06:17:49 +08:00
88b03d1029
* Updated and simplified patch files for the new source version
55 lines
1.9 KiB
Diff
55 lines
1.9 KiB
Diff
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index e1d631e..e95d7fb 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -16,10 +16,10 @@ set (VERSION 1.5.0)
|
|
add_definitions (-DCMAKE -DVERSION=\"${VERSION}\")
|
|
|
|
if (WIN32)
|
|
- set (BINDIR .)
|
|
- set (SBINDIR .)
|
|
+ set (BINDIR bin)
|
|
+ set (SBINDIR bin)
|
|
set (SYSCONFDIR .)
|
|
- set (LIBDIR .)
|
|
+ set (LIBDIR lib)
|
|
set (INCLUDEDIR include)
|
|
set (DATAROOTDIR share)
|
|
set (MANDIR man)
|
|
@@ -90,7 +90,7 @@ endif (${DOCUMENTATION} STREQUAL ON)
|
|
# Install config file
|
|
# ========================================
|
|
|
|
-install(FILES mosquitto.conf aclfile.example pskfile.example pwfile.example DESTINATION "${SYSCONFDIR}")
|
|
+#install(FILES mosquitto.conf aclfile.example pskfile.example pwfile.example DESTINATION "${SYSCONFDIR}")
|
|
|
|
|
|
# ========================================
|
|
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
|
index 272b60a..c180067 100644
|
|
--- a/lib/CMakeLists.txt
|
|
+++ b/lib/CMakeLists.txt
|
|
@@ -104,7 +104,7 @@ set_target_properties(libmosquitto PROPERTIES
|
|
SOVERSION 1
|
|
)
|
|
|
|
-install(TARGETS libmosquitto RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}")
|
|
+install(TARGETS libmosquitto RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}" ARCHIVE DESTINATION "${LIBDIR}")
|
|
|
|
if (${WITH_STATIC_LIBRARIES} STREQUAL ON)
|
|
add_library(libmosquitto_static STATIC ${C_SRC})
|
|
diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt
|
|
index 5e4f08e..a8cc6be 100644
|
|
--- a/lib/cpp/CMakeLists.txt
|
|
+++ b/lib/cpp/CMakeLists.txt
|
|
@@ -13,7 +13,7 @@ set_target_properties(mosquittopp PROPERTIES
|
|
VERSION ${VERSION}
|
|
SOVERSION 1
|
|
)
|
|
-install(TARGETS mosquittopp RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}")
|
|
+install(TARGETS mosquittopp RUNTIME DESTINATION "${BINDIR}" LIBRARY DESTINATION "${LIBDIR}" ARCHIVE DESTINATION "${LIBDIR}")
|
|
|
|
if (${WITH_STATIC_LIBRARIES} STREQUAL ON)
|
|
add_library(mosquittopp_static STATIC
|
|
|