Author: akhaldi
Date: Tue Sep 23 17:43:18 2014
New Revision: 64238
URL:
http://svn.reactos.org/svn/reactos?rev=64238&view=rev
Log:
[CMAKE]
* Use the full path of the PCH file when including it.
Modified:
trunk/reactos/cmake/gcc.cmake
Modified: trunk/reactos/cmake/gcc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/gcc.cmake?rev=64238&…
==============================================================================
--- trunk/reactos/cmake/gcc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/gcc.cmake [iso-8859-1] Tue Sep 23 17:43:18 2014
@@ -371,7 +371,7 @@
# 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()