Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-08-16 20:15:34 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-08-16 20:15:34 +0400
commit360fcd73fe2868ba32c65697e21ed1bbab8b649a (patch)
tree29c77024343a26c0358b814e581efaf388a3030a /intern/cycles/kernel/osl/CMakeLists.txt
parent18387f3e3fc4e3fbb9f2cd27d49d12e56975e87c (diff)
Cycles:
* add some (disabled) test code for using OpenImageIO in imbuf * link cycles, openimageio and boost into blender instead of a shared library * some cmakefile changes to simplify the code and follow conventions better * this may solve running cycles problems on windows XP, or give a different and hopefully more useful error message
Diffstat (limited to 'intern/cycles/kernel/osl/CMakeLists.txt')
-rw-r--r--intern/cycles/kernel/osl/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/intern/cycles/kernel/osl/CMakeLists.txt b/intern/cycles/kernel/osl/CMakeLists.txt
index 31a162bdd0e..4a3a6f6798a 100644
--- a/intern/cycles/kernel/osl/CMakeLists.txt
+++ b/intern/cycles/kernel/osl/CMakeLists.txt
@@ -1,7 +1,7 @@
-INCLUDE_DIRECTORIES(. ../ ../svm ../../render ../../util ../../device)
+include_directories(. ../ ../svm ../../render ../../util ../../device)
-SET(sources
+set(sources
background.cpp
bsdf_ashikhmin_velvet.cpp
bsdf_diffuse.cpp
@@ -19,15 +19,15 @@ SET(sources
osl_shader.cpp
vol_subsurface.cpp)
-SET(headers
+set(headers
osl_closures.h
osl_globals.h
osl_services.h
osl_shader.h)
-SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
-ADD_LIBRARY(cycles_kernel_osl ${sources} ${headers})
+add_library(cycles_kernel_osl ${sources} ${headers})
-ADD_SUBDIRECTORY(nodes)
+add_subdirectory(nodes)