[Orxonox-commit 3634] r8319 - code/branches/kicklib2/cmake/tools

rgrieder at orxonox.net rgrieder at orxonox.net
Sun Apr 24 06:19:48 CEST 2011


Author: rgrieder
Date: 2011-04-24 06:19:47 +0200 (Sun, 24 Apr 2011)
New Revision: 8319

Modified:
   code/branches/kicklib2/cmake/tools/TargetUtilities.cmake
Log:
String compare seems different with cmake 2.6.0

Modified: code/branches/kicklib2/cmake/tools/TargetUtilities.cmake
===================================================================
--- code/branches/kicklib2/cmake/tools/TargetUtilities.cmake	2011-04-24 03:48:53 UTC (rev 8318)
+++ code/branches/kicklib2/cmake/tools/TargetUtilities.cmake	2011-04-24 04:19:47 UTC (rev 8319)
@@ -287,7 +287,7 @@
   ENDIF()
 
   # RPATH settings for the installation
-  IF(_target_type STREQUAL "LIBRARY")
+  IF("${_target_type}" STREQUAL "LIBRARY")
     IF(_arg_MODULE)
       SET(_rpath "${MODULE_RPATH}")
     ELSE()




More information about the Orxonox-commit mailing list