[Bf-blender-cvs] [d377cd5db19] blender2.7: Fix Cycles standalone build as part of Blender.
Brecht Van Lommel
noreply at git.blender.org
Sun Jan 27 20:16:50 CET 2019
Commit: d377cd5db19a2c14a4d7ee7ba9986319d49497fa
Author: Brecht Van Lommel
Date: Sun Jan 27 18:26:26 2019 +0100
Branches: blender2.7
https://developer.blender.org/rBd377cd5db19a2c14a4d7ee7ba9986319d49497fa
Fix Cycles standalone build as part of Blender.
===================================================================
M intern/cycles/app/CMakeLists.txt
M intern/cycles/util/CMakeLists.txt
===================================================================
diff --git a/intern/cycles/app/CMakeLists.txt b/intern/cycles/app/CMakeLists.txt
index ee1ae90ce61..689b8bc08e5 100644
--- a/intern/cycles/app/CMakeLists.txt
+++ b/intern/cycles/app/CMakeLists.txt
@@ -36,7 +36,7 @@ if(WITH_CYCLES_OSL)
endif()
if(NOT CYCLES_STANDALONE_REPOSITORY)
- list(APPEND LIBRARIES bf_intern_glew_mx bf_intern_guardedalloc)
+ list(APPEND LIBRARIES bf_intern_glew_mx bf_intern_guardedalloc bf_intern_numaapi)
endif()
if(WITH_CYCLES_LOGGING)
diff --git a/intern/cycles/util/CMakeLists.txt b/intern/cycles/util/CMakeLists.txt
index 42626d05cf9..16abed142b2 100644
--- a/intern/cycles/util/CMakeLists.txt
+++ b/intern/cycles/util/CMakeLists.txt
@@ -33,6 +33,9 @@ if(WITH_CYCLES_STANDALONE)
util_view.cpp
)
endif()
+endif()
+
+if(CYCLES_STANDALONE_REPOSITORY)
list(APPEND INC_SYS ../../third_party/numaapi/include)
else()
list(APPEND INC_SYS ../../numaapi/include)
More information about the Bf-blender-cvs
mailing list