Fix: error with CMake checking the wrong WEBP variable

This commit is contained in:
Campbell Barton
2025-04-09 10:21:37 +10:00
parent 2dc4a94e8b
commit bf03a2684b
2 changed files with 2 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ macro(cycles_external_libraries_append libraries)
if(WITH_PATH_GUIDING)
list(APPEND ${libraries} ${OPENPGL_LIBRARIES})
endif()
if(WITH_WEBP)
if(WITH_IMAGE_WEBP)
list(APPEND ${libraries} ${WEBP_LIBRARIES})
endif()
if(UNIX AND NOT APPLE)

View File

@@ -239,7 +239,7 @@ if(WITH_IMAGE_OPENJPEG)
add_definitions(-DWITH_OPENJPEG)
endif()
if(WITH_WEBP)
if(WITH_IMAGE_WEBP)
add_definitions(-DWITH_WEBP)
endif()