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
committed by Philipp Oeser
parent cdafdd8c96
commit ec61d698d1
+1
View File
@@ -73,6 +73,7 @@ if(WITH_OPENSUBDIV)
list(APPEND LIB
${OPENSUBDIV_LIBRARIES}
${Epoxy_LIBRARIES}
)
if(WITH_OPENMP AND WITH_OPENMP_STATIC)