From e7e05ba5fa8de4cf6519e91dd46d73ba985a7fae Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Apr 2019 13:57:03 +0200 Subject: CMake: fix linking with gtest & cycles enabled --- source/blender/python/intern/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source/blender/python/intern/CMakeLists.txt') diff --git a/source/blender/python/intern/CMakeLists.txt b/source/blender/python/intern/CMakeLists.txt index 3563300b515..95f3edb8045 100644 --- a/source/blender/python/intern/CMakeLists.txt +++ b/source/blender/python/intern/CMakeLists.txt @@ -33,7 +33,6 @@ set(INC ../../../../intern/clog ../../../../intern/guardedalloc ../../../../intern/opencolorio - ../../../../intern/cycles/blender ) set(INC_SYS @@ -167,6 +166,12 @@ if(WITH_COMPOSITOR) endif() if(WITH_CYCLES) + list(APPEND INC + ../../../../intern/cycles/blender + ) + list(APPEND LIB + bf_intern_cycles + ) add_definitions(-DWITH_CYCLES) endif() -- cgit v1.2.3