Skip to content

Commit b069646

Browse files
committed
Merge pull request opencv#8439 from egorpugin:patch-1
2 parents 9ac34bd + a321cce commit b069646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/cl2cpp.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (NOT cl_list)
99
message(FATAL_ERROR "Can't find OpenCL kernels in directory: ${CL_DIR}")
1010
endif()
1111

12-
string(REPLACE ".cpp" ".hpp" OUTPUT_HPP "${OUTPUT}")
12+
string(REGEX REPLACE "\\.cpp$" ".hpp" OUTPUT_HPP "${OUTPUT}")
1313
get_filename_component(OUTPUT_HPP_NAME "${OUTPUT_HPP}" NAME)
1414

1515
if("${MODULE_NAME}" STREQUAL "ocl")

0 commit comments

Comments
 (0)