Combine multiple defines into one

This commit is contained in:
Tong Dong Qiu
2022-11-17 09:59:49 +01:00
parent b697460add
commit 21b23b7aa4
5 changed files with 18 additions and 12 deletions

View File

@@ -145,7 +145,7 @@ endif()
if(ROCALUTION_FOUND)
list (APPEND MAIN_SOURCE_FILES opm/simulators/linalg/bda/rocalutionSolverBackend.cpp)
endif()
if(CUDA_FOUND OR OPENCL_FOUND OR HAVE_FPGA OR amgcl_FOUND OR ROCALUTION_FOUND)
if(COMPILE_BDA_BRIDGE)
list (APPEND MAIN_SOURCE_FILES opm/simulators/linalg/bda/BdaBridge.cpp)
endif()
if(amgcl_FOUND)