vcpkg/ports/mongo-cxx-driver/disable_test_and_example.patch
Phoebe 08cbf0b3cd [libbson mongo-c-driver mongo-cxx-driver] upgrades to new revision (#6862)
* [libbson mongo-c-driver mongo-cxx-driver] upgrades to new revision

* [mongo-cxx-driver] Minimize patch

* [mongo-c-driver] Fix dependencies on openssl and zlib
2019-06-12 23:08:09 -07:00

43 lines
1.1 KiB
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c6f56e4..5601f90 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -89,6 +89,8 @@ endif()
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+if(0)
+
add_custom_target(hugo_dir
COMMAND ${CMAKE_COMMAND} -E make_directory hugo
)
@@ -147,6 +149,8 @@ add_custom_target(docs
set(THIRD_PARTY_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/third_party)
+endif()
+
enable_testing()
add_subdirectory(src)
diff --git a/src/bsoncxx/CMakeLists.txt b/src/bsoncxx/CMakeLists.txt
index 50085d0..5966d21 100644
--- a/src/bsoncxx/CMakeLists.txt
+++ b/src/bsoncxx/CMakeLists.txt
@@ -249,4 +249,4 @@ install(
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PKG}-${BSONCXX_VERSION}
)
-add_subdirectory(test)
+# add_subdirectory(test)
diff --git a/src/mongocxx/CMakeLists.txt b/src/mongocxx/CMakeLists.txt
index 3cba62d..64ff936 100644
--- a/src/mongocxx/CMakeLists.txt
+++ b/src/mongocxx/CMakeLists.txt
@@ -259,4 +259,4 @@ install(
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/${PKG}-${MONGOCXX_VERSION}
)
-add_subdirectory(test)
+# add_subdirectory(test)