|
From: kosmirror <kos...@us...> - 2025-08-24 02:21:13
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "A pseudo Operating System for the Dreamcast.".
The branch, master has been updated
via b0a78dfd2bdad675028b687ba8b7f691d503a15f (commit)
from 79034390f3a298b9b90c73a09c8f74a4a6d28fd3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit b0a78dfd2bdad675028b687ba8b7f691d503a15f
Author: Paul Cercueil <pa...@cr...>
Date: Sat Aug 23 20:09:12 2025 +0200
cmake: Restore compatibility with CMake 3.20
Since the long-term supported Ubuntu 24.04 ships with CMake 3.20, we
should make sure that we keep compatibility with that.
The 'EXPAND_TILDE' option of the file() function was added in CMake
3.21, so we should not use it. This should be okay as the paths found in
the various KOS environment variables should already be absolute and not
relative to the home directory.
Fixes #1159.
Signed-off-by: Paul Cercueil <pa...@cr...>
-----------------------------------------------------------------------
Summary of changes:
utils/cmake/kallistios.toolchain.cmake | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/utils/cmake/kallistios.toolchain.cmake b/utils/cmake/kallistios.toolchain.cmake
index b7e008c0..35c976e0 100644
--- a/utils/cmake/kallistios.toolchain.cmake
+++ b/utils/cmake/kallistios.toolchain.cmake
@@ -36,10 +36,10 @@ if(NOT DEFINED ENV{KOS_BASE}
message(FATAL_ERROR "KallistiOS environment variables not found")
endif()
-file(REAL_PATH $ENV{KOS_BASE} KOS_BASE EXPAND_TILDE)
-file(REAL_PATH $ENV{KOS_CC_BASE} KOS_CC_BASE EXPAND_TILDE)
-file(REAL_PATH $ENV{KOS_PORTS} KOS_PORTS EXPAND_TILDE)
-file(REAL_PATH $ENV{DC_TOOLS_BASE} DC_TOOLS_BASE EXPAND_TILDE)
+file(REAL_PATH $ENV{KOS_BASE} KOS_BASE)
+file(REAL_PATH $ENV{KOS_CC_BASE} KOS_CC_BASE)
+file(REAL_PATH $ENV{KOS_PORTS} KOS_PORTS)
+file(REAL_PATH $ENV{DC_TOOLS_BASE} DC_TOOLS_BASE)
set(KOS_ARCH $ENV{KOS_ARCH})
set(KOS_SUBARCH $ENV{KOS_SUBARCH})
set(KOS_ADDONS ${KOS_BASE}/addons)
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|