mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 09:22:05 -05:00
Only include test if opencl is found
This commit is contained in:
1 parent
bd9e13d4bd
commit
aa5f36b835
1 file changed
+1
-1
@@ -148,7 +148,6 @@ list (APPEND TEST_SOURCE_FILES
|
||||
tests/test_timer.cpp
|
||||
tests/test_invert.cpp
|
||||
tests/test_stoppedwells.cpp
|
||||
tests/test_solvetransposed3x3.cpp
|
||||
tests/test_relpermdiagnostics.cpp
|
||||
tests/test_norne_pvt.cpp
|
||||
tests/test_wellprodindexcalculator.cpp
|
||||
@@ -169,6 +168,7 @@ if(CUDA_FOUND)
|
||||
endif()
|
||||
if(OPENCL_FOUND)
|
||||
list(APPEND TEST_SOURCE_FILES tests/test_openclSolver.cpp)
|
||||
list(APPEND TEST_SOURCE_FILES tests/test_solvetransposed3x3.cpp)
|
||||
endif()
|
||||
|
||||
list (APPEND TEST_DATA_FILES
|
||||
|
||||
Reference in new issue
Block a user