[Orxonox-commit 2423] r7132 - code/branches/presentation3/cmake
rgrieder at orxonox.net
rgrieder at orxonox.net
Wed Jun 9 23:19:14 CEST 2010
Author: rgrieder
Date: 2010-06-09 23:19:14 +0200 (Wed, 09 Jun 2010)
New Revision: 7132
Modified:
code/branches/presentation3/cmake/TargetUtilities.cmake
Log:
Bugfix in TargetUtilities.cmake: Always provide _taget_name_upper, not only in PCH case.
Modified: code/branches/presentation3/cmake/TargetUtilities.cmake
===================================================================
--- code/branches/presentation3/cmake/TargetUtilities.cmake 2010-06-09 20:08:52 UTC (rev 7131)
+++ code/branches/presentation3/cmake/TargetUtilities.cmake 2010-06-09 21:19:14 UTC (rev 7132)
@@ -78,6 +78,7 @@
MACRO(TU_ADD_TARGET _target_name _target_type _additional_switches)
CAPITALISE_NAME(${_target_name} _target_name_capitalised)
+ STRING(TOUPPER "${_target_name}" _target_name_upper)
# Specify all possible options (either switch or with add. arguments)
SET(_switches FIND_HEADER_FILES EXCLUDE_FROM_ALL ORXONOX_EXTERNAL
@@ -132,7 +133,6 @@
# First part (pre target) of precompiled header files
IF(PCH_COMPILER_SUPPORT AND _arg_PCH_FILE)
# Provide convenient option to control PCH
- STRING(TOUPPER "${_target_name}" _target_name_upper)
IF(_arg_PCH_NO_DEFAULT)
SET(PCH_DEFAULT FALSE)
ELSE()
More information about the Orxonox-commit
mailing list