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:
authorCampbell Barton <ideasman42@gmail.com>2019-04-16 07:18:52 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-16 07:20:52 +0300
commit5498e7f193e2399b8693ef17803f864103307b4b (patch)
treec72b53e0d0f3fe1e5f4706c207917a7cbcaa18d7 /intern/cycles/render
parent813e470eac309a78d1f8cdc4a3abb0314b0ee5f3 (diff)
CMake: add library deps to CMakeLists.txt
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
Diffstat (limited to 'intern/cycles/render')
-rw-r--r--intern/cycles/render/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/cycles/render/CMakeLists.txt b/intern/cycles/render/CMakeLists.txt
index af0f8b806a8..140fcb206dc 100644
--- a/intern/cycles/render/CMakeLists.txt
+++ b/intern/cycles/render/CMakeLists.txt
@@ -74,8 +74,15 @@ set(SRC_HEADERS
)
set(LIB
+ cycles_bvh
)
+if(WITH_CYCLES_OSL)
+ list(APPEND LIB
+ cycles_kernel_osl
+ )
+endif()
+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${RTTI_DISABLE_FLAGS}")
include_directories(${INC})