Cycles OSL: some build system tweaks to avoid global includes and definitions,
[blender.git] / intern / cycles / kernel / osl / nodes / CMakeLists.txt
index 65b8504ce435568223a1d8ad1f063c7678d5aece..faf7941ee5e9244a8a16fa1bae015c843821aa3d 100644 (file)
@@ -88,7 +88,7 @@ foreach(_file ${SRC_OSL})
        unset(_OSO_FILE)
 endforeach()
 
-add_custom_target(shader ALL DEPENDS ${SRC_OSO} ${SRC_OSL_HEADERS})
+add_custom_target(cycles_osl_shaders ALL DEPENDS ${SRC_OSO} ${SRC_OSL_HEADERS})
 
 # CMAKE_CURRENT_SOURCE_DIR is already included in OSO paths
 delayed_install("" "${SRC_OSO}" ${CYCLES_INSTALL_PATH}/shader)