From adbe2cb17ead637dd05b66d5b2630d9bf72a2b88 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 26 May 2023 16:48:08 -0700 Subject: [PATCH] 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 --- CMakeLists.txt | 4 ++-- cmake/WebPConfig.cmake.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 47a197d7..8ca07f57 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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() diff --git a/cmake/WebPConfig.cmake.in b/cmake/WebPConfig.cmake.in index c091b4ef..8c883fe1 100644 --- a/cmake/WebPConfig.cmake.in +++ b/cmake/WebPConfig.cmake.in @@ -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})