mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 13:29:08 -06:00
Merge pull request #3767 from blattms/fix-opencl-warn-from-refactor
Include config.h in clSources.cpp to include correct openCL header.
This commit is contained in:
commit
c231e3b56b
@ -13,7 +13,8 @@ endif()
|
||||
|
||||
set(CL_SRC_FILE ${PROJECT_BINARY_DIR}/clSources.cpp)
|
||||
file(WRITE ${CL_SRC_FILE} "// This file is auto-generated. Do not edit!\n\n")
|
||||
file(APPEND ${CL_SRC_FILE} "#include \"${BDA_DIR}/openclKernels.hpp\"\n\n")
|
||||
file(APPEND ${CL_SRC_FILE} "#include <config.h>\n\n")
|
||||
file(APPEND ${CL_SRC_FILE} "#include <${BDA_DIR}/openclKernels.hpp>\n\n")
|
||||
file(APPEND ${CL_SRC_FILE} "namespace Opm\{\n\n")
|
||||
file(APPEND ${CL_SRC_FILE} "namespace Accelerator\{\n\n")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user