mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Only include test if opencl is found
This commit is contained in:
parent
bd9e13d4bd
commit
aa5f36b835
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user