diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 14:57:03 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-16 14:57:33 +0300 |
commit | e7e05ba5fa8de4cf6519e91dd46d73ba985a7fae (patch) | |
tree | c9136278f1923e7d5832b125b1ac08158c417574 /source/blender/python/intern/CMakeLists.txt | |
parent | 423d9086e64e5f9bfb175f95e17ca426567af17d (diff) |
CMake: fix linking with gtest & cycles enabled
Diffstat (limited to 'source/blender/python/intern/CMakeLists.txt')
-rw-r--r-- | source/blender/python/intern/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
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() |