Skip to content

Commit 0e1d65d

Browse files
committed
build: fix PCH stub files generation optimization
1 parent 125abe2 commit 0e1d65d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/OpenCVPCHSupport.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ MACRO(_PCH_WRITE_PCHDEP_CXX _targetName _include_file _dephelp)
9797

9898
set(${_dephelp} "${CMAKE_CURRENT_BINARY_DIR}/${_targetName}_pch_dephelp.cxx")
9999
set(_content "")
100-
if(EXISTS "${_dephelp}")
101-
file(READ "${_dephelp}" _content)
100+
if(EXISTS "${${_dephelp}}")
101+
file(READ "${${_dephelp}}" _content)
102102
endif()
103103
set(_dummy_str
104104
"#include \"${_include_file}\"

0 commit comments

Comments
 (0)