git: 46e137c313c4 - main - math/highs: Remove tests from build
Yuri Victorovich
yuri at FreeBSD.org
Wed Jun 23 15:34:43 UTC 2021
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=46e137c313c4bf218e7d741e1ebd02c8400b5020
commit 46e137c313c4bf218e7d741e1ebd02c8400b5020
Author: Yuri Victorovich <yuri at FreeBSD.org>
AuthorDate: 2021-06-23 15:34:02 +0000
Commit: Yuri Victorovich <yuri at FreeBSD.org>
CommitDate: 2021-06-23 15:34:41 +0000
math/highs: Remove tests from build
---
math/highs/files/patch-CMakeLists.txt | 15 +++++++++++++++
1 file changed, 15 insertions(+)
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)
+
+
More information about the dev-commits-ports-all
mailing list