cmake,cosmetics: apply cmake-format

using the defaults present in 0.6.13 and setting
--first-comment-is-literal to avoid reflowing the copyright block and
--max-subgroups-hwrap 3 (default is 2) to avoid making some short set()
statements multi-line.

Change-Id: I3d90c025b5b2bb353046f4da19b8e442a044b902
This commit is contained in:
James Zern 2023-05-26 16:48:08 -07:00
parent 15b365083d
commit adbe2cb17e
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -8,7 +8,7 @@ if(@WEBP_USE_THREAD@)
find_dependency(Threads REQUIRED)
endif()
include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
set_and_check(WebP_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_INCLUDEDIR@")
set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIRS})