mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 20:43:49 -06:00
Consistently use keyword version of target_link_libraries.
Fixes: CMake Error at CMakeLists.txt:458 (target_link_libraries): The keyword signature for target_link_libraries has already been used with the target "opmsimulators". All uses of target_link_libraries with a target must be either all-keyword or all-plain. The uses of the keyword signature are here: * /var/lib/jenkins/workspace/opm-common-PR-builder/mpi/install/share/opm/cmake/Modules/OpmCompile.cmake:61 (target_link_libraries) -- Configuring incomplete, errors occurred!
This commit is contained in:
parent
de6baa3c00
commit
a53139b20a
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user