[Orxonox-commit 1179] r5900 - code/trunk/cmake
rgrieder at orxonox.net
rgrieder at orxonox.net
Wed Oct 7 12:54:08 CEST 2009
Author: rgrieder
Date: 2009-10-07 12:54:08 +0200 (Wed, 07 Oct 2009)
New Revision: 5900
Modified:
code/trunk/cmake/TargetUtilities.cmake
Log:
Hopefully fixed CMake visual studio bug in the trunk.
Modified: code/trunk/cmake/TargetUtilities.cmake
===================================================================
--- code/trunk/cmake/TargetUtilities.cmake 2009-10-07 09:19:19 UTC (rev 5899)
+++ code/trunk/cmake/TargetUtilities.cmake 2009-10-07 10:54:08 UTC (rev 5900)
@@ -107,6 +107,9 @@
ENDIF()
# Add the config files in a special source group
LIST(APPEND _${_target_name}_files ${ORXONOX_CONFIG_FILES})
+ FOREACH(_file ${ORXONOX_CONFIG_FILES})
+ SET_SOURCE_FILES_PROPERTIES(${_file} PROPERTIES HEADER_FILE_ONLY TRUE)
+ ENDFOREACH(_file)
SOURCE_GROUP("Config" FILES ${ORXONOX_CONFIG_FILES})
ENDIF()
ENDIF(NOT _arg_NO_SOURCE_GROUPS)
More information about the Orxonox-commit
mailing list