Commit f8b7490a authored by Joseph Noir's avatar Joseph Noir

--with-opencl now sets the CPPA_OPENCL flag

parent 6fb94bd4
...@@ -176,6 +176,7 @@ if (ENABLE_OPENCL) ...@@ -176,6 +176,7 @@ if (ENABLE_OPENCL)
set(LIBCPPA_SRC set(LIBCPPA_SRC
${LIBCPPA_SRC} ${LIBCPPA_SRC}
src/opencl/command_dispatcher.cpp) src/opencl/command_dispatcher.cpp)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DCPPA_OPENCL")
endif (ENABLE_OPENCL) endif (ENABLE_OPENCL)
if (DISABLE_CONTEXT_SWITCHING) if (DISABLE_CONTEXT_SWITCHING)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment