[Orxonox-commit 2421] r7131 - code/branches/presentation3/cmake

adrfried at orxonox.net adrfried at orxonox.net
Wed Jun 9 22:08:53 CEST 2010


Author: adrfried
Date: 2010-06-09 22:08:52 +0200 (Wed, 09 Jun 2010)
New Revision: 7131

Modified:
   code/branches/presentation3/cmake/TargetUtilities.cmake
Log:
don't add version information do executables

Modified: code/branches/presentation3/cmake/TargetUtilities.cmake
===================================================================
--- code/branches/presentation3/cmake/TargetUtilities.cmake	2010-06-09 19:57:04 UTC (rev 7130)
+++ code/branches/presentation3/cmake/TargetUtilities.cmake	2010-06-09 20:08:52 UTC (rev 7131)
@@ -230,7 +230,7 @@
   # VERSION
   IF(_arg_VERSION)
     SET_TARGET_PROPERTIES(${_target_name} PROPERTIES VERSION ${_arg_VERSION})
-  ELSEIF(NOT _arg_ORXONOX_EXTERNAL AND NOT _arg_NO_VERSION)
+  ELSEIF(NOT _arg_ORXONOX_EXTERNAL AND NOT _arg_NO_VERSION AND NOT ${_target_type} STREQUAL "EXECUTABLE")
     SET_TARGET_PROPERTIES(${_target_name} PROPERTIES VERSION ${ORXONOX_VERSION})
   ENDIF()
 




More information about the Orxonox-commit mailing list