[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [31820] trunk/blender/source/creator/ CMakeLists.txt: patch [#23717] Another install target fix for cmake/linux

Campbell Barton ideasman42 at gmail.com
Wed Sep 8 05:13:21 CEST 2010


Revision: 31820
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=31820
Author:   campbellbarton
Date:     2010-09-08 05:13:19 +0200 (Wed, 08 Sep 2010)

Log Message:
-----------
patch [#23717] Another install target fix for cmake/linux
from Ralf H?\195?\182lzemer (cheleb)

 fix for *nix install target

Modified Paths:
--------------
    trunk/blender/source/creator/CMakeLists.txt

Modified: trunk/blender/source/creator/CMakeLists.txt
===================================================================
--- trunk/blender/source/creator/CMakeLists.txt	2010-09-08 02:55:48 UTC (rev 31819)
+++ trunk/blender/source/creator/CMakeLists.txt	2010-09-08 03:13:19 UTC (rev 31820)
@@ -222,19 +222,19 @@
 		)
 		INSTALL(
 			DIRECTORY ${CMAKE_SOURCE_DIR}/release/scripts/
-			DESTINATION ${BLENDERPATH}/scripts
+			DESTINATION ${CMAKE_INSTALL_PREFIX}/share/blender/${BLENDER_VERSION}/scripts
 			PATTERN ".svn" EXCLUDE
 			PATTERN "*.pyc" EXCLUDE
 		)
 		INSTALL(
 			DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/brushicons/
-			DESTINATION ${BLENDERPATH}/datafiles/brushicons
+			DESTINATION ${CMAKE_INSTALL_PREFIX}/share/blender/${BLENDER_VERSION}/datafiles/brushicons
 			PATTERN ".svn" EXCLUDE
 		)
 		IF(WITH_INTERNATIONAL)
 			INSTALL(
 				DIRECTORY ${CMAKE_SOURCE_DIR}/release/bin/.blender/locale/
-				DESTINATION ${BLENDERPATH}/datafiles/locale
+				DESTINATION ${CMAKE_INSTALL_PREFIX}/share/blender/${BLENDER_VERSION}/datafiles/locale
 				PATTERN ".svn" EXCLUDE
 			)
 		ENDIF(WITH_INTERNATIONAL)





More information about the Bf-blender-cvs mailing list