diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2012-09-24 23:25:32 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2012-09-24 23:25:32 +0400 |
commit | 33d7a1bbebf77b8035f3d4a28c2d3c5619dc3d35 (patch) | |
tree | 3b07147c2afdfde17709400a24a6842bbd8ebeda /source/creator | |
parent | 87a8aea3138b2f633cc9febae1d13887bda91173 (diff) |
OSX/osl: add install of shader headers needed for osl_nodes compile
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 11 |
1 files changed, 10 insertions, 1 deletions
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() # ----------------------------------------------------------------------------- |