aboutsummaryrefslogtreecommitdiff
path: root/ports/mongo-cxx-driver/disable_shared.patch
diff options
context:
space:
mode:
authorLuke Sparey <44617984+lsparey@users.noreply.github.com>2019-02-08 12:22:37 +1300
committerRobert Schumacher <roschuma@microsoft.com>2019-02-07 15:22:37 -0800
commit0b79c4bb74aa1a1908c23edb3ca07b5e6dd39141 (patch)
treed81eb20739c28a57e3fc23b004c3b3a184238048 /ports/mongo-cxx-driver/disable_shared.patch
parentcc516fb763b3a4b1faf37efbf0f6fc4c0ccfc60a (diff)
downloadvcpkg-0b79c4bb74aa1a1908c23edb3ca07b5e6dd39141.tar.gz
vcpkg-0b79c4bb74aa1a1908c23edb3ca07b5e6dd39141.zip
[mongo-cxx-driver] Update to 3.2.0 and add cmake targets (#5178)
* [mongo-cxx-driver] Update to 3.2.0 and add cmake targets * [mongo-cxx-driver] Replace cmake config files to support debug binaries
Diffstat (limited to 'ports/mongo-cxx-driver/disable_shared.patch')
-rw-r--r--ports/mongo-cxx-driver/disable_shared.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/ports/mongo-cxx-driver/disable_shared.patch b/ports/mongo-cxx-driver/disable_shared.patch
deleted file mode 100644
index 5f2f9a04e..000000000
--- a/ports/mongo-cxx-driver/disable_shared.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-diff --git a/src/bsoncxx/CMakeLists.txt b/src/bsoncxx/CMakeLists.txt
-index a9a7ada..6b87a6d 100644
---- a/src/bsoncxx/CMakeLists.txt
-+++ b/src/bsoncxx/CMakeLists.txt
-@@ -117,9 +117,15 @@ if (WIN32)
- )
- endif()
-
--add_library(bsoncxx SHARED
-- ${bsoncxx_sources}
--)
-+if(BUILD_SHARED_LIBS)
-+ add_library(bsoncxx SHARED
-+ ${bsoncxx_sources}
-+ )
-+else()
-+ add_library(bsoncxx SHARED
-+ exception/error_code.cpp
-+ )
-+endif()
-
- set(bsoncxx_libs ${LIBBSON_LIBRARIES})
-
-diff --git a/src/mongocxx/CMakeLists.txt b/src/mongocxx/CMakeLists.txt
-index 2ef54e4..53a13f7 100644
---- a/src/mongocxx/CMakeLists.txt
-+++ b/src/mongocxx/CMakeLists.txt
-@@ -134,9 +134,15 @@ set_target_properties(mongocxx_mocked PROPERTIES
- VERSION ${MONGOCXX_VERSION}
- )
-
--add_library(mongocxx SHARED
-- ${mongocxx_sources}
--)
-+if(BUILD_SHARED_LIBS)
-+ add_library(mongocxx SHARED
-+ ${mongocxx_sources}
-+ )
-+else()
-+ add_library(mongocxx SHARED
-+ exception/error_code.cpp
-+ )
-+endif()
-
- set_target_properties (mongocxx PROPERTIES
- OUTPUT_NAME mongocxx