Fix: error with CMake checking the wrong WEBP variable
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user