Commit 0e1d65d3 authored by Alexander Alekhin's avatar Alexander Alekhin

build: fix PCH stub files generation optimization

parent 125abe2f
...@@ -97,8 +97,8 @@ MACRO(_PCH_WRITE_PCHDEP_CXX _targetName _include_file _dephelp) ...@@ -97,8 +97,8 @@ MACRO(_PCH_WRITE_PCHDEP_CXX _targetName _include_file _dephelp)
set(${_dephelp} "${CMAKE_CURRENT_BINARY_DIR}/${_targetName}_pch_dephelp.cxx") set(${_dephelp} "${CMAKE_CURRENT_BINARY_DIR}/${_targetName}_pch_dephelp.cxx")
set(_content "") set(_content "")
if(EXISTS "${_dephelp}") if(EXISTS "${${_dephelp}}")
file(READ "${_dephelp}" _content) file(READ "${${_dephelp}}" _content)
endif() endif()
set(_dummy_str set(_dummy_str
"#include \"${_include_file}\" "#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