1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/math/dbcsr/files/patch-CMakeLists.txt
Yuri Victorovich 5697158c09 math/dbcsr: Update 1.0.0-rc.0-40 -> 1.1.0
* Add the 'test' target.

Reported by:	portscout
2019-04-09 05:54:30 +00:00

14 lines
413 B
Plaintext

--- CMakeLists.txt.orig 2019-04-09 04:46:02 UTC
+++ CMakeLists.txt
@@ -23,7 +23,9 @@ set(WITH_GPU "P100" CACHE STRING "Set th
set_property(CACHE WITH_GPU PROPERTY STRINGS K20X K40 K80 P100)
enable_language(Fortran)
-enable_testing() # enables the `make test` target
+if (BUILD_TESTING)
+ enable_testing() # enables the `make test` target
+endif()
if (WITH_C_API AND WITH_EXAMPLES)
enable_language(CXX)