mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 14:13:15 +08:00
build: fix PCH stub files generation optimization
This commit is contained in:
parent
125abe2fe4
commit
0e1d65d3b1
@ -97,8 +97,8 @@ MACRO(_PCH_WRITE_PCHDEP_CXX _targetName _include_file _dephelp)
|
||||
|
||||
set(${_dephelp} "${CMAKE_CURRENT_BINARY_DIR}/${_targetName}_pch_dephelp.cxx")
|
||||
set(_content "")
|
||||
if(EXISTS "${_dephelp}")
|
||||
file(READ "${_dephelp}" _content)
|
||||
if(EXISTS "${${_dephelp}}")
|
||||
file(READ "${${_dephelp}}" _content)
|
||||
endif()
|
||||
set(_dummy_str
|
||||
"#include \"${_include_file}\"
|
||||
|
Loading…
Reference in New Issue
Block a user