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
This commit is contained in:
Jonas Holzman
2024-11-03 12:37:11 +01:00
parent 43bbd9fd2d
commit 6ccc786e82

View File

@@ -72,6 +72,7 @@ if(WITH_OPENSUBDIV)
list(APPEND LIB
${OPENSUBDIV_LIBRARIES}
${Epoxy_LIBRARIES}
)
if(WITH_OPENMP AND WITH_OPENMP_STATIC)