From ec61d698d1d8ff0a9cd60072c3742e972ab83936 Mon Sep 17 00:00:00 2001 From: Jonas Holzman Date: Sun, 3 Nov 2024 12:37:11 +0100 Subject: [PATCH] Build: Add Epoxy to OpenSubdiv library build dependencies This commit adds Epoxy as an explicit library requirement for `intern/opensubdiv`, which uses it in `gl_compute_evaluator.cc`. This fixes build errors where lite builds that additionally enabled OpenSubdiv would fail to link due to missing Epoxy symbols. This problem did not occur in regular release builds due to other CMake modules adding Epoxy to the library link path in place of OpenSubdiv. Pull Request: https://projects.blender.org/blender/blender/pulls/129740 --- intern/opensubdiv/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/intern/opensubdiv/CMakeLists.txt b/intern/opensubdiv/CMakeLists.txt index 7f26fbefa67..f5376956557 100644 --- a/intern/opensubdiv/CMakeLists.txt +++ b/intern/opensubdiv/CMakeLists.txt @@ -73,6 +73,7 @@ if(WITH_OPENSUBDIV) list(APPEND LIB ${OPENSUBDIV_LIBRARIES} + ${Epoxy_LIBRARIES} ) if(WITH_OPENMP AND WITH_OPENMP_STATIC)