mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3137 from blattms/cmake-3.10-rebased
Stop pretending that we support CMake 2.8
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
project(opm-simulators C CXX)
|
||||
|
||||
cmake_minimum_required (VERSION 2.8)
|
||||
cmake_minimum_required (VERSION 3.10)
|
||||
|
||||
|
||||
option(SIBLING_SEARCH "Search for other modules in sibling directories?" ON)
|
||||
@@ -455,5 +455,5 @@ if(CUDA_FOUND)
|
||||
endif()
|
||||
|
||||
if(OpenCL_FOUND)
|
||||
target_link_libraries( opmsimulators ${OpenCL_LIBRARIES} )
|
||||
target_link_libraries( opmsimulators PUBLIC ${OpenCL_LIBRARIES} )
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user