[Orxonox-commit 5019] r9685 - code/trunk/cmake/tools
landauf at orxonox.net
landauf at orxonox.net
Thu Oct 3 22:58:02 CEST 2013
Author: landauf
Date: 2013-10-03 22:58:02 +0200 (Thu, 03 Oct 2013)
New Revision: 9685
Modified:
code/trunk/cmake/tools/PrecompiledHeaderFiles.cmake
Log:
fixed pch with gcc 4.8
Modified: code/trunk/cmake/tools/PrecompiledHeaderFiles.cmake
===================================================================
--- code/trunk/cmake/tools/PrecompiledHeaderFiles.cmake 2013-10-03 20:29:44 UTC (rev 9684)
+++ code/trunk/cmake/tools/PrecompiledHeaderFiles.cmake 2013-10-03 20:58:02 UTC (rev 9685)
@@ -121,7 +121,7 @@
SET(_old_flags "")
ENDIF()
SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES
- COMPILE_FLAGS "${_old_flags} -include ${_pch_header_filename}"
+ COMPILE_FLAGS "${_old_flags} -I ${CMAKE_CURRENT_SOURCE_DIR} -include ${_pch_header_filename}"
OBJECT_DEPENDS "${_pch_header_file}"
)
ENDIF(NOT _is_header)
More information about the Orxonox-commit
mailing list