Fix CMake variable case bug.

This caused compile failure on a system without the c++ OpenCL binding header cl.hpp.
This commit is contained in:
Atgeirr Flø Rasmussen 2020-07-28 11:49:01 +02:00
parent 6c1f8bd872
commit 0205f54caf

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()