yuzu/externals/vcpkg/ports/mongo-cxx-driver/disable_test_and_example.patch
2022-07-23 03:01:36 +02:00

48 lines
1.3 KiB
Diff
Executable File

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b2bc2a17c..347faa5ca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -190,6 +190,7 @@ set (BUILD_SOURCE_DIR ${CMAKE_BINARY_DIR})
include (MakeDistFiles)
+if(0)
add_custom_target(hugo_dir
COMMAND ${CMAKE_COMMAND} -E make_directory hugo
)
@@ -248,6 +249,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 480b7cd32..b890c36b6 100644
--- a/src/bsoncxx/CMakeLists.txt
+++ b/src/bsoncxx/CMakeLists.txt
@@ -204,7 +204,7 @@ if(BSONCXX_BUILD_STATIC)
endif()
bsoncxx_install("${bsoncxx_target_list}" "${bsoncxx_pkg_dep}")
-add_subdirectory(test)
+# add_subdirectory(test)
set_local_dist (src_bsoncxx_DIST_local
CMakeLists.txt
diff --git a/src/mongocxx/CMakeLists.txt b/src/mongocxx/CMakeLists.txt
index f67ae35f7..b783a4716 100644
--- a/src/mongocxx/CMakeLists.txt
+++ b/src/mongocxx/CMakeLists.txt
@@ -231,7 +231,7 @@ if(MONGOCXX_BUILD_STATIC)
endif()
mongocxx_install("${mongocxx_target_list}" "${mongocxx_pkg_dep}")
-add_subdirectory(test)
+# add_subdirectory(test)
set_local_dist (src_mongocxx_DIST_local
CMakeLists.txt