[Orxonox-commit 3584] r8269 - code/branches/kicklib/contrib

rgrieder at orxonox.net rgrieder at orxonox.net
Tue Apr 19 23:20:15 CEST 2011


Author: rgrieder
Date: 2011-04-19 23:20:15 +0200 (Tue, 19 Apr 2011)
New Revision: 8269

Modified:
   code/branches/kicklib/contrib/CMakeLists.txt
Log:
Honour install prefix

Modified: code/branches/kicklib/contrib/CMakeLists.txt
===================================================================
--- code/branches/kicklib/contrib/CMakeLists.txt	2011-04-19 18:52:53 UTC (rev 8268)
+++ code/branches/kicklib/contrib/CMakeLists.txt	2011-04-19 21:20:15 UTC (rev 8269)
@@ -24,7 +24,7 @@
  #
 
 IF(UNIX AND NOT APPLE)
-  INSTALL(FILES orxonox.desktop     DESTINATION /usr/share/applications)
+  INSTALL(FILES orxonox.desktop     DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications)
   #INSTALL(FILES orxonox.manpage.xml DESTINATION /usr/man)
-  INSTALL(FILES orxonox.png         DESTINATION /usr/share/pixmaps)
+  INSTALL(FILES orxonox.png         DESTINATION ${CMAKE_INSTALL_PREFIX}/share/pixmaps)
 ENDIF()




More information about the Orxonox-commit mailing list