mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
[CMAKE]
* Use the full path of the PCH file when including it. svn path=/trunk/; revision=64238
This commit is contained in:
parent
adb18fba08
commit
bef3d82f99
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ if(PCH)
|
|||
# Include the gch in the specified source files, skipping the pch file itself
|
||||
list(REMOVE_ITEM ${_sources} ${_pch})
|
||||
foreach(_src ${${_sources}})
|
||||
set_property(SOURCE ${_src} APPEND_STRING PROPERTY COMPILE_FLAGS " ${_ccache_flag} -include ${_pch_final_name}")
|
||||
set_property(SOURCE ${_src} APPEND_STRING PROPERTY COMPILE_FLAGS " ${_ccache_flag} -include ${CMAKE_CURRENT_BINARY_DIR}/${_pch_final_name}")
|
||||
set_property(SOURCE ${_src} APPEND PROPERTY OBJECT_DEPENDS ${_gch})
|
||||
endforeach()
|
||||
endmacro()
|
||||
|
|
Loading…
Reference in a new issue