[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50862] trunk/blender/source/creator/ CMakeLists.txt: OSX/osl: add install of shader headers needed for osl_nodes compile

jens verwiebe info at jensverwiebe.de
Mon Sep 24 21:25:32 CEST 2012


Revision: 50862
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50862
Author:   jensverwiebe
Date:     2012-09-24 19:25:32 +0000 (Mon, 24 Sep 2012)
Log Message:
-----------
OSX/osl: add install of shader headers needed for osl_nodes compile

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

Modified: trunk/blender/source/creator/CMakeLists.txt
===================================================================
--- trunk/blender/source/creator/CMakeLists.txt	2012-09-24 19:06:28 UTC (rev 50861)
+++ trunk/blender/source/creator/CMakeLists.txt	2012-09-24 19:25:32 UTC (rev 50862)
@@ -736,7 +736,15 @@
 		)
 
 	endif()
-
+	
+	#OSL shader_headers needed
+	if(WITH_CYCLES_OSL)
+		install(
+			FILES ${LIBDIR}/osl/shaders/oslutil.h ${LIBDIR}/osl/shaders/stdosl.h
+			DESTINATION ${TARGETDIR}/blender.app/Contents/shaders/
+		)
+	endif()
+	
 	# install blenderplayer bundle - copy of blender.app above. re-using macros et al
 	# note we are using OSX Bundle as base and copying Blender dummy bundle on top of it
 	if(WITH_GAMEENGINE AND WITH_PLAYER)
@@ -778,6 +786,7 @@
 		endif()
 
 	endif()
+		
 endif()
 
 # -----------------------------------------------------------------------------




More information about the Bf-blender-cvs mailing list