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 9d8aabc8413b9cb5934524e77337276dcfa16eae (commit)
from 1a93911dd0cd976c39cccb46f9be616417be14f2 (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 9d8aabc8413b9cb5934524e77337276dcfa16eae
Author: GPF <tr...@ya...>
Date: Fri Jul 25 13:26:50 2025 -0700
CMake: Set default installation directories only if not defined
-----------------------------------------------------------------------
Summary of changes:
utils/cmake/dreamcast.toolchain.cmake | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/utils/cmake/dreamcast.toolchain.cmake b/utils/cmake/dreamcast.toolchain.cmake
index f6389686..4ff699b6 100644
--- a/utils/cmake/dreamcast.toolchain.cmake
+++ b/utils/cmake/dreamcast.toolchain.cmake
@@ -84,7 +84,10 @@ set(CMAKE_ASM_FLAGS_RELEASE "")
# Default CMake installations to install to kos-addons
set(CMAKE_INSTALL_BINDIR ${DC_TOOLS_BASE})
-set(CMAKE_INSTALL_INCLUDEDIR ${KOS_ADDONS}/include/${KOS_ARCH})
-set(CMAKE_INSTALL_LIBDIR ${KOS_ADDONS}/lib/${KOS_ARCH})
-
+if(NOT DEFINED CMAKE_INSTALL_INCLUDEDIR)
+ set(CMAKE_INSTALL_INCLUDEDIR ${KOS_ADDONS}/include/${KOS_ARCH})
+endif()
+if(NOT DEFINED CMAKE_INSTALL_LIBDIR)
+ set(CMAKE_INSTALL_LIBDIR ${KOS_ADDONS}/lib/${KOS_ARCH})
+endif()
include("${KOS_BASE}/utils/cmake/dreamcast.cmake")
hooks/post-receive
--
A pseudo Operating System for the Dreamcast.
|