yuzu/externals/vcpkg/ports/ignition-cmake0/do-not-compile-gtest.patch

15 lines
411 B
Diff
Raw Normal View History

2022-07-23 05:01:36 +04:00
diff --git a/cmake/IgnConfigureBuild.cmake b/cmake/IgnConfigureBuild.cmake
--- a/cmake/IgnConfigureBuild.cmake
+++ b/cmake/IgnConfigureBuild.cmake
@@ -109,7 +109,9 @@
# Add all the source code directories
add_subdirectory(src)
add_subdirectory(include)
- add_subdirectory(test)
+ if(BUILD_TESTING)
+ add_subdirectory(test)
+ endif()
#--------------------------------------