Fix for OSL shader install paths.
authorLukas Toenne <lukas.toenne@googlemail.com>
Mon, 3 Sep 2012 11:38:22 +0000 (11:38 +0000)
committerLukas Toenne <lukas.toenne@googlemail.com>
Mon, 3 Sep 2012 11:38:22 +0000 (11:38 +0000)
intern/cycles/kernel/osl/nodes/CMakeLists.txt

index 575554b880f197e9b829039aacf48f8bed69e347..aff963ea6739fac74b756229c39f672322c20248 100644 (file)
@@ -83,4 +83,5 @@ endforeach()
 
 add_custom_target(shader ALL DEPENDS ${SRC_OSO} ${SRC_OSL_HEADERS})
 
-delayed_install(${CMAKE_CURRENT_SOURCE_DIR} "${SRC_OSO}" ${CYCLES_INSTALL_PATH}/shader)
+# CMAKE_CURRENT_SOURCE_DIR is already included in OSO paths
+delayed_install("" "${SRC_OSO}" ${CYCLES_INSTALL_PATH}/shader)