From 3854ac6e66daf93daf7fd147471501a8ed3579a1 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 c06d0d26866..1d36455875b 100644 --- a/intern/opensubdiv/CMakeLists.txt +++ b/intern/opensubdiv/CMakeLists.txt @@ -72,6 +72,7 @@ if(WITH_OPENSUBDIV) list(APPEND LIB ${OPENSUBDIV_LIBRARIES} + ${Epoxy_LIBRARIES} ) if(WITH_OPENMP AND WITH_OPENMP_STATIC)