Merge pull request #2715 from atgeirr/fix-opencl-cmake

Fix CMake variable case bug.
This commit is contained in:
Atgeirr Flø Rasmussen 2020-07-28 13:17:13 +02:00 committed by GitHub
commit af413f474c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -147,6 +147,7 @@ if(OpenCL_FOUND)
else()
message(WARNING " OpenCL was found, but this version of opm-simulators relies on CL/cl.hpp, which implements OpenCL 1.0, 1.1 and 1.2.\n Deactivating OpenCL")
set(OpenCL_FOUND OFF)
set(OPENCL_FOUND OFF)
endif()
endif()