Build: Auto update to new haru precompiled library name on macOS and Linux
Pull Request: https://projects.blender.org/blender/blender/pulls/147230
This commit is contained in:
committed by
Brecht Van Lommel
parent
33aa6fac90
commit
62f8f372c4
@@ -96,3 +96,11 @@ if(LIBDIR AND
|
||||
unset_cache_variables("^TBB")
|
||||
unset_cache_variables("^USD")
|
||||
endif()
|
||||
|
||||
# Detect update to 5.0 libs.
|
||||
if(UNIX AND LIBDIR AND
|
||||
EXISTS ${LIBDIR}/haru/lib/libhpdf.a AND
|
||||
HARU_LIBRARY MATCHES "libhpdfs.a$")
|
||||
message(STATUS "Auto updating CMake configuration for Blender 5.0 libraries")
|
||||
unset_cache_variables("^HARU")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user