require the right cmake version for GLOBAL find_package()
Some checks failed
ContinuousDelivery / linux-ubuntu (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousDelivery / windows (push) Has been cancelled
ContinuousDelivery / windows-asan (push) Has been cancelled
ContinuousDelivery / dumpsyms (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled
ContinuousIntegration / linux (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled

This commit is contained in:
Green Sky 2025-04-07 14:58:04 +02:00
parent 65b98e0d38
commit 923dbed53d
No known key found for this signature in database
GPG Key ID: DBE05085D874AB4A
3 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ option(TOMATO_DEP_LIBWEBP_USE_SYSTEM "Prefer system provided libwebp" OFF)
if (TOMATO_DEP_LIBWEBP_USE_SYSTEM) if (TOMATO_DEP_LIBWEBP_USE_SYSTEM)
if (NOT TARGET WebP::libwebpmux) if (NOT TARGET WebP::libwebpmux)
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
find_package(WebP CONFIG GLOBAL QUIET COMPONENTS webp webpdemux libwebpmux) find_package(WebP CONFIG GLOBAL QUIET COMPONENTS webp webpdemux libwebpmux)
endif() endif()

View File

@ -6,6 +6,7 @@ option(TOMATO_DEP_SDL_USE_SYSTEM "Prefer system provided SDL" OFF)
if (TOMATO_DEP_SDL_USE_SYSTEM) if (TOMATO_DEP_SDL_USE_SYSTEM)
if (NOT TARGET SDL3::SDL3) if (NOT TARGET SDL3::SDL3)
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
#find_package(SDL3 REQUIRED CONFIG REQUIRED COMPONENTS SDL3-shared) #find_package(SDL3 REQUIRED CONFIG REQUIRED COMPONENTS SDL3-shared)
find_package(SDL3 CONFIG GLOBAL QUIET) find_package(SDL3 CONFIG GLOBAL QUIET)
endif() endif()

View File

@ -6,6 +6,7 @@ option(TOMATO_DEP_SDL_IMAGE_USE_SYSTEM "Prefer system provided SDL_image" OFF)
if (TOMATO_DEP_SDL_IMAGE_USE_SYSTEM) if (TOMATO_DEP_SDL_IMAGE_USE_SYSTEM)
if (NOT TARGET SDL3_image::SDL3_image) if (NOT TARGET SDL3_image::SDL3_image)
cmake_minimum_required(VERSION 3.24 FATAL_ERROR)
find_package(SDL3_image CONFIG GLOBAL QUIET) find_package(SDL3_image CONFIG GLOBAL QUIET)
endif() endif()