[Bf-blender-cvs] [ed351ea02c] app-templates: CMake: install app-templates

Campbell Barton noreply at git.blender.org
Fri Mar 17 21:04:07 CET 2017


Commit: ed351ea02cf994a6022bf1b9b1b92dde056fdddb
Author: Campbell Barton
Date:   Sat Mar 18 07:09:11 2017 +1100
Branches: app-templates
https://developer.blender.org/rBed351ea02cf994a6022bf1b9b1b92dde056fdddb

CMake: install app-templates

===================================================================

M	source/creator/CMakeLists.txt

===================================================================

diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt
index eea4554594..fe12aa1bd2 100644
--- a/source/creator/CMakeLists.txt
+++ b/source/creator/CMakeLists.txt
@@ -334,6 +334,12 @@ install(
 	"file(REMOVE_RECURSE ${TARGETDIR_VER})"
 )
 
+install(
+	DIRECTORY ${CMAKE_SOURCE_DIR}/release/datafiles/app_templates
+	DESTINATION ${TARGETDIR_VER}/datafiles
+	PATTERN "__pycache__" EXCLUDE
+)
+
 if(WITH_PYTHON)
 	# install(CODE "message(\"copying blender scripts...\")")




More information about the Bf-blender-cvs mailing list