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:
Diffstat (limited to 'intern/cycles/hydra/CMakeLists.txt')
-rw-r--r--intern/cycles/hydra/CMakeLists.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/intern/cycles/hydra/CMakeLists.txt b/intern/cycles/hydra/CMakeLists.txt
index d632cd01a02..72d5d0e3bf7 100644
--- a/intern/cycles/hydra/CMakeLists.txt
+++ b/intern/cycles/hydra/CMakeLists.txt
@@ -13,6 +13,14 @@ set(INC_SYS
${GLEW_INCLUDE_DIR}
)
+set(LIB
+ cycles_scene
+ cycles_session
+ cycles_graph
+ ${CYCLES_GLEW_LIBRARIES}
+)
+cycles_external_libraries_append(LIB)
+
set(INC_HD_CYCLES
attribute.h
camera.h
@@ -63,9 +71,6 @@ if(WITH_OPENVDB)
list(APPEND INC_SYS
${OPENVDB_INCLUDE_DIRS}
)
- list(APPEND LIB
- ${OPENVDB_LIBRARIES}
- )
endif()
include_directories(${INC})
@@ -94,10 +99,9 @@ target_link_libraries(hdCyclesStatic
PUBLIC
hd
hgi
+ hgiGL
PRIVATE
- cycles_scene
- cycles_session
- cycles_graph
+ ${LIB}
)
set(HdCyclesPluginName hdCycles)
@@ -124,8 +128,6 @@ target_link_libraries(${HdCyclesPluginName}
hdCyclesStatic
)
-cycles_target_link_libraries(${HdCyclesPluginName})
-
if(WITH_CYCLES_BLENDER)
set(CYCLES_HYDRA_INSTALL_PATH "../")
else()