From 5498e7f193e2399b8693ef17803f864103307b4b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Apr 2019 06:18:52 +0200 Subject: 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 --- intern/cycles/render/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'intern/cycles/render') 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}) -- cgit v1.2.3