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.
1 parent 7abaae3 commit 94b2368Copy full SHA for 94b2368
cmake/OpenCVUtils.cmake
@@ -32,8 +32,8 @@ function(ocv_cmake_eval var_name)
32
endfunction()
33
34
macro(ocv_cmake_configure file_name var_name)
35
- configure_file(${file_name} "${CMAKE_BINARY_DIR}/CMakeConfig-${var_name}.cmake" ${ARGN})
36
- file(READ "${CMAKE_BINARY_DIR}/CMakeConfig-${var_name}.cmake" ${var_name})
+ file(READ "${file_name}" __config)
+ string(CONFIGURE "${__config}" ${var_name} ${ARGN})
37
endmacro()
38
39
macro(ocv_update VAR)
0 commit comments