Commit 7b8d1073 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #8857 from alalek:fix_pch_stub_regeneration

parents 125abe2f 0e1d65d3
......@@ -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}\"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment