From 491e1ad2257ffabc0b677bfa2bec24bb62cc5bc0 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Wed, 22 Aug 2018 09:03:40 -0300 Subject: [PATCH] Fix building without OPENSUBDIV Although we have a stub system there, we were not linking the library. --- build_files/cmake/macros.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/build_files/cmake/macros.cmake b/build_files/cmake/macros.cmake index 65f962d2dd9..a4f8d9397aa 100644 --- a/build_files/cmake/macros.cmake +++ b/build_files/cmake/macros.cmake @@ -704,6 +704,7 @@ function(SETUP_BLENDER_SORTED_LIBS) bf_intern_glew_mx bf_intern_clog + bf_intern_opensubdiv ) if(NOT WITH_SYSTEM_GLOG) @@ -776,10 +777,6 @@ function(SETUP_BLENDER_SORTED_LIBS) list(APPEND BLENDER_SORTED_LIBS bf_intern_gpudirect) endif() - if(WITH_OPENSUBDIV OR WITH_CYCLES_OPENSUBDIV) - list(APPEND BLENDER_SORTED_LIBS bf_intern_opensubdiv) - endif() - if(WITH_OPENVDB) list(APPEND BLENDER_SORTED_LIBS bf_intern_openvdb) endif()