From ab0efb7a3bab6912ede8cb1c0de26c4446021bda Mon Sep 17 00:00:00 2001 From: Luke Street Date: Tue, 12 May 2026 22:33:06 -0600 Subject: [PATCH] CI fixes and enable mobile THP support --- CMakeLists.txt | 7 ++----- CMakePresets.json | 29 +++++------------------------ extern/aurora | 2 +- 3 files changed, 8 insertions(+), 30 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 359b892bab..c6b4840a85 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,11 +125,6 @@ option(DUSK_BUILD_WARNINGS "Enable compiler warnings (off by default)") option(DUSK_SELECTED_OPT "If on, selected parts of the project will be compiled with optimizations on Debug, intending to make the game run at 30 FPS. Note for MSVC: you will need to remove '/RTC1' from your debug flags in CMake.") option(DUSK_MOVIE_SUPPORT "If on, compile against libjpeg-turbo to enable THP file decoding" ON) option(DUSK_ENABLE_UPDATE_CHECKER "Enable update checking support" ON) - -if(ANDROID) - set(DUSK_MOVIE_SUPPORT OFF) -endif () - option(DUSK_ENABLE_SENTRY_NATIVE "Enable sentry-native crash reporting support" OFF) set(DUSK_SENTRY_DSN "" CACHE STRING "Sentry DSN") set(DUSK_SENTRY_ENVIRONMENT "development" CACHE STRING "Sentry environment") @@ -168,6 +163,8 @@ if (DUSK_MOVIE_SUPPORT) list(APPEND _jpeg_cmake_args -DCMAKE_TOOLCHAIN_FILE=${_jpeg_toolchain_file}) endif () set(_jpeg_passthrough_vars + ANDROID_ABI + ANDROID_PLATFORM CMAKE_BUILD_TYPE CMAKE_C_COMPILER CMAKE_C_COMPILER_LAUNCHER diff --git a/CMakePresets.json b/CMakePresets.json index 64ef90d452..e37121f1c0 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -249,22 +249,11 @@ "type": "BOOL", "value": false }, - "CMAKE_DISABLE_FIND_PACKAGE_BZip2": { + "CMAKE_DISABLE_FIND_PACKAGE_PkgConfig": { "type": "BOOL", "value": true }, - "CMAKE_DISABLE_FIND_PACKAGE_LibLZMA": { - "type": "BOOL", - "value": true - }, - "CMAKE_DISABLE_FIND_PACKAGE_zstd": { - "type": "BOOL", - "value": true - }, - "CMAKE_DISABLE_FIND_PACKAGE_Freetype": { - "type": "BOOL", - "value": true - } + "CMAKE_IGNORE_PREFIX_PATH": "/opt/homebrew" }, "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { @@ -416,7 +405,7 @@ }, "CMAKE_OSX_DEPLOYMENT_TARGET": "11.0", "CMAKE_IGNORE_PREFIX_PATH": "/opt/homebrew", - "DUSK_MOVIE_SUPPORT": { + "BUILD_SHARED_LIBS": { "type": "BOOL", "value": false } @@ -449,11 +438,7 @@ ], "cacheVariables": { "CMAKE_C_COMPILER_LAUNCHER": "sccache", - "CMAKE_CXX_COMPILER_LAUNCHER": "sccache", - "DUSK_MOVIE_SUPPORT": { - "type": "BOOL", - "value": false - } + "CMAKE_CXX_COMPILER_LAUNCHER": "sccache" } }, { @@ -463,11 +448,7 @@ ], "cacheVariables": { "CMAKE_C_COMPILER_LAUNCHER": "sccache", - "CMAKE_CXX_COMPILER_LAUNCHER": "sccache", - "DUSK_MOVIE_SUPPORT": { - "type": "BOOL", - "value": false - } + "CMAKE_CXX_COMPILER_LAUNCHER": "sccache" } }, { diff --git a/extern/aurora b/extern/aurora index f7f3d52cfc..f1f6bc5b28 160000 --- a/extern/aurora +++ b/extern/aurora @@ -1 +1 @@ -Subproject commit f7f3d52cfcc3cb43bb9445582f69798b3a622d4a +Subproject commit f1f6bc5b28d4bd2fc225680ab08d9124328e7911