Clean message calls in CMake

Change-Id: If1a959d9b8d544c9f4671c84880b1d0d11d3d285
This commit is contained in:
Vincent Rabaud 2023-05-22 09:21:41 +00:00 committed by James Zern
parent cba300781f
commit 8f187b9f7f
2 changed files with 3 additions and 2 deletions

View File

@ -82,7 +82,8 @@ if(WEBP_BUILD_WEBP_JS)
set(WEBP_USE_THREAD OFF)
if(WEBP_ENABLE_SIMD)
message("wasm2js does not support SIMD, disabling webp.js generation.")
message(
NOTICE "wasm2js does not support SIMD, disabling webp.js generation.")
endif()
endif()

View File

@ -77,7 +77,7 @@ set(WEBP_DEP_IMG_INCLUDE_DIRS)
foreach(I_LIB PNG JPEG TIFF)
# Disable tiff when compiling in static mode as it is failing on Ubuntu.
if(WEBP_LINK_STATIC AND ${I_LIB} STREQUAL "TIFF")
message("TIFF is disabled when statically linking.")
message(STATUS "TIFF is disabled when statically linking.")
continue()
endif()
find_package(${I_LIB})