We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ac34bd + a321cce commit b069646Copy full SHA for b069646
cmake/cl2cpp.cmake
@@ -9,7 +9,7 @@ if (NOT cl_list)
9
message(FATAL_ERROR "Can't find OpenCL kernels in directory: ${CL_DIR}")
10
endif()
11
12
-string(REPLACE ".cpp" ".hpp" OUTPUT_HPP "${OUTPUT}")
+string(REGEX REPLACE "\\.cpp$" ".hpp" OUTPUT_HPP "${OUTPUT}")
13
get_filename_component(OUTPUT_HPP_NAME "${OUTPUT_HPP}" NAME)
14
15
if("${MODULE_NAME}" STREQUAL "ocl")
0 commit comments