From 33d7a1bbebf77b8035f3d4a28c2d3c5619dc3d35 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Mon, 24 Sep 2012 19:25:32 +0000 Subject: [PATCH] OSX/osl: add install of shader headers needed for osl_nodes compile --- source/creator/CMakeLists.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 4a460d7cc05..0068bb98a95 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -736,7 +736,15 @@ elseif(APPLE) ) 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 @@ elseif(APPLE) endif() endif() + endif() # -----------------------------------------------------------------------------