diff options
Diffstat (limited to 'build_files/cmake/macros.cmake')
-rw-r--r-- | build_files/cmake/macros.cmake | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 479dd31b3f8..154b80a43c2 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -265,6 +265,9 @@ function(SETUP_LIBDIRS) if(WITH_OPENCOLORIO) link_directories(${OPENCOLORIO_LIBPATH}) endif() + if(WITH_OPENVDB) + link_directories(${OPENVDB_LIBPATH}) + endif() if(WITH_IMAGE_OPENJPEG AND WITH_SYSTEM_OPENJPEG) link_directories(${OPENJPEG_LIBPATH}) endif() @@ -370,6 +373,9 @@ function(setup_liblinks if(WITH_OPENCOLORIO) target_link_libraries(${target} ${OPENCOLORIO_LIBRARIES}) endif() + if(WITH_OPENVDB) + target_link_libraries(${target} ${OPENVDB_LIBRARIES}) + endif() if(WITH_CYCLES_OSL) target_link_libraries(${target} ${OSL_LIBRARIES}) endif() @@ -436,6 +442,12 @@ function(setup_liblinks if(WITH_LLVM) target_link_libraries(${target} ${LLVM_LIBRARY}) endif() + if(WITH_ALEMBIC) + target_link_libraries(${target} ${ALEMBIC_LIBRARIES}) + endif() + if(WITH_HDF5) + target_link_libraries(${target} ${HDF5_LIBRARIES}) + endif() if(WIN32 AND NOT UNIX) target_link_libraries(${target} ${PTHREADS_LIBRARIES}) endif() @@ -515,6 +527,7 @@ function(SETUP_BLENDER_SORTED_LIBS) bf_editor_object bf_editor_armature bf_editor_physics + bf_editor_hair bf_editor_render bf_editor_screen bf_editor_sculpt_paint @@ -578,6 +591,8 @@ function(SETUP_BLENDER_SORTED_LIBS) ge_videotex bf_dna bf_blenfont + bf_pointcache_alembic + bf_pointcache bf_intern_audaspace bf_intern_mikktspace bf_intern_dualcon @@ -673,6 +688,10 @@ function(SETUP_BLENDER_SORTED_LIBS) list_insert_after(BLENDER_SORTED_LIBS "ge_logic_ngnetwork" "extern_bullet") endif() + if(WITH_OPENVDB) + list(APPEND BLENDER_SORTED_LIBS bf_intern_openvdb) + endif() + foreach(SORTLIB ${BLENDER_SORTED_LIBS}) set(REMLIB ${SORTLIB}) foreach(SEARCHLIB ${BLENDER_LINK_LIBS}) |