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 f90f0f4b4df1828d16bf558799a627cb126d92a6 (commit)
from 56c843d6eb9f48e8b90ed1d86f381508a3f00796 (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 f90f0f4b4df1828d16bf558799a627cb126d92a6
Author: Paul Cercueil <pa...@cr...>
Date: Tue Jul 22 22:13:25 2025 +0200
CMake: Use absolute path for KOS variables
The CMAKE_INSTALL_BINDIR and CMAKE_INSTALL_LIBDIR require absolute
paths. Address this issue by using absolute paths for all KOS variables
that contain paths.
Signed-off-by: Paul Cercueil <pa...@cr...>
-----------------------------------------------------------------------
Summary of changes:
utils/cmake/dreamcast.toolchain.cmake | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/utils/cmake/dreamcast.toolchain.cmake b/utils/cmake/dreamcast.toolchain.cmake
index 67f4f92e..f6389686 100644
--- a/utils/cmake/dreamcast.toolchain.cmake
+++ b/utils/cmake/dreamcast.toolchain.cmake
@@ -34,16 +34,16 @@ if(NOT DEFINED ENV{KOS_BASE}
OR NOT DEFINED ENV{KOS_PORTS}
OR NOT DEFINED ENV{DC_TOOLS_BASE})
message(FATAL_ERROR "KallistiOS environment variables not found")
-else()
- set(KOS_BASE $ENV{KOS_BASE})
- set(KOS_CC_BASE $ENV{KOS_CC_BASE})
- set(KOS_ARCH $ENV{KOS_ARCH})
- set(KOS_SUBARCH $ENV{KOS_SUBARCH})
- set(KOS_PORTS $ENV{KOS_PORTS})
- set(DC_TOOLS_BASE $ENV{DC_TOOLS_BASE})
- set(KOS_ADDONS ${KOS_BASE}/addons)
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)
+set(KOS_ARCH $ENV{KOS_ARCH})
+set(KOS_SUBARCH $ENV{KOS_SUBARCH})
+set(KOS_ADDONS ${KOS_BASE}/addons)
+
list(APPEND CMAKE_MODULE_PATH $ENV{KOS_BASE}/utils/cmake)
##### Configure CMake System #####
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|