Cycles OSL: some build system tweaks to avoid global includes and definitions,
[blender.git] / intern / cycles / CMakeLists.txt
index 38daf790955724be1498eea22e824be886483706..7562ee0a0a51b91ed4bb241ef3c935691be2d48e 100644 (file)
@@ -41,6 +41,7 @@ endif()
 
 if(WITH_CYCLES_OSL)
        add_definitions(-DWITH_OSL)
+       include_directories(${OSL_INCLUDES})
 endif()
 
 if(WITH_CYCLES_PARTIO)