mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 17:09:19 +08:00
4cbbcbddfd
* [vcpkg ci:osx] Remove brew install * add instructions for creating a new vagrant box * fix the vagrant scripts for the new box * finish fixing the setup * [mecab jxrlib] fix ports for CI mecab needed to use an actual ref that wasn't master, and jxrlib needed a patch for xcode 12 CLTs. Additionally, this fixes the mecab version to be a date, the date of the last commit, since `1.0` is not the correct version (mecab doesn't have released versions) * [many ports] fix compile with Xcode 12 CLTs This mostly means fixing errors on implicit-function-declaration, and removing some Werrors * alac-decoder * apr * argtable2 * arrow * hyperscan * mcpp * minizip * mosquitto * stormlib * [many ports] even more Xcode 12 CLT fixes * [jxrlib darknet] fix the last ports! (hopefully) * CRs, plus minor wip changes to osx scripts
40 lines
1.5 KiB
Diff
40 lines
1.5 KiB
Diff
From df5ec7ba4e7b1516a2636e47c33a4a6161b5c422 Mon Sep 17 00:00:00 2001
|
|
From: Nicole Mazzuca <mazzucan@outlook.com>
|
|
Date: Tue, 22 Sep 2020 15:38:44 -0700
|
|
Subject: [PATCH 1/5] add archive destination to install
|
|
|
|
---
|
|
lib/CMakeLists.txt | 2 +-
|
|
lib/cpp/CMakeLists.txt | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
|
|
index e1521f1..bd60b75 100644
|
|
--- a/lib/CMakeLists.txt
|
|
+++ b/lib/CMakeLists.txt
|
|
@@ -87,7 +87,7 @@ 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}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
|
|
|
if (WITH_STATIC_LIBRARIES)
|
|
add_library(libmosquitto_static STATIC ${C_SRC})
|
|
diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt
|
|
index b39ac3f..5805244 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 "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
|
+install(TARGETS mosquittopp RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
|
|
|
if (WITH_STATIC_LIBRARIES)
|
|
add_library(mosquittopp_static STATIC
|
|
--
|
|
2.24.3 (Apple Git-128)
|
|
|