Commit 9bfaf4fe authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #14389 from alalek:cmake_fix_pch_build_with_vtk

parents de4be8e6 319e891d
...@@ -302,7 +302,7 @@ MACRO(ADD_PRECOMPILED_HEADER _targetName _input) ...@@ -302,7 +302,7 @@ MACRO(ADD_PRECOMPILED_HEADER _targetName _input)
if [ -n \"$VERBOSE\" ]; then if [ -n \"$VERBOSE\" ]; then
tail -n1 \$0 tail -n1 \$0
fi fi
${_command} -D$<JOIN:$<TARGET_PROPERTY:${_targetName},COMPILE_DEFINITIONS>, -D> ${_command} '-D$<JOIN:$<TARGET_PROPERTY:${_targetName},COMPILE_DEFINITIONS>,' '-D>'
") ")
GET_FILENAME_COMPONENT(_outdir ${_output} PATH) GET_FILENAME_COMPONENT(_outdir ${_output} PATH)
ADD_CUSTOM_COMMAND( ADD_CUSTOM_COMMAND(
......
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