From c0a3657e7a00f30b5e9d42fd671b1dcf53c465e2 Mon Sep 17 00:00:00 2001 From: Lukas Toenne Date: Mon, 3 Sep 2012 11:38:18 +0000 Subject: Added library linking for cycles_kernel_osl to OSL libraries and added cycles_kernel_osl to the list of blender libs in creator. --- source/creator/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/creator') diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 26ca390239b..664219f7a93 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -790,6 +790,10 @@ if(WITH_CYCLES) cycles_kernel cycles_util cycles_subd) + + if(WITH_CYCLES_OSL) + list(APPEND BLENDER_LINK_LIBS cycles_kernel_osl) + endif() endif() #if(UNIX) @@ -953,6 +957,10 @@ endif() list(APPEND BLENDER_SORTED_LIBS extern_xdnd) endif() + if(WITH_CYCLES_OSL) + list_insert_after(BLENDER_SORTED_LIBS "cycles_kernel" "cycles_kernel_osl") + endif() + foreach(SORTLIB ${BLENDER_SORTED_LIBS}) set(REMLIB ${SORTLIB}) foreach(SEARCHLIB ${BLENDER_LINK_LIBS}) -- cgit v1.2.3