pineapple-src/externals/vcpkg/ports/ignition-cmake0/do-not-compile-gtest.patch
2022-07-23 03:01:36 +02:00

14 lines
411 B
Diff
Executable file

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()
#--------------------------------------