diff --git a/math/highs/files/patch-CMakeLists.txt b/math/highs/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..f36788057713 --- /dev/null +++ b/math/highs/files/patch-CMakeLists.txt @@ -0,0 +1,15 @@ +- see https://github.com/ERGO-Code/HiGHS/issues/526 + +--- CMakeLists.txt.orig 2021-06-23 15:29:24 UTC ++++ CMakeLists.txt +@@ -304,7 +304,9 @@ endif() + # Targets + enable_testing() + add_subdirectory(app) +-add_subdirectory(check) ++if (BUILD_TESTING) ++ add_subdirectory(check) ++endif() + add_subdirectory(src) + +