aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2025-07-14 16:42:26 +0000
committerFelix Morgner <felix.morgner@ost.ch>2025-07-14 16:42:26 +0000
commitd1aaaeb615e148a13f46223c84819ba828e5209f (patch)
tree9a1fb3d5ff429f4bf96f999dbc6751ec1cc6b976 /arch
parentec572bff8150e2f8cd2dc99e053c5e8c8a0b99e3 (diff)
downloadteachos-d1aaaeb615e148a13f46223c84819ba828e5209f.tar.xz
teachos-d1aaaeb615e148a13f46223c84819ba828e5209f.zip
arch: make linkable
Diffstat (limited to 'arch')
-rw-r--r--arch/CMakeLists.txt4
-rw-r--r--arch/x86_64/CMakeLists.txt3
2 files changed, 5 insertions, 2 deletions
diff --git a/arch/CMakeLists.txt b/arch/CMakeLists.txt
index c7b2c15..eded57e 100644
--- a/arch/CMakeLists.txt
+++ b/arch/CMakeLists.txt
@@ -14,4 +14,8 @@ target_include_directories("arch-any" INTERFACE
"include"
)
+target_link_libraries("arch-any" INTERFACE
+ "libs::kstd"
+)
+
add_subdirectory("${CMAKE_SYSTEM_PROCESSOR}")
diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt
index 19bc78c..dd54b39 100644
--- a/arch/x86_64/CMakeLists.txt
+++ b/arch/x86_64/CMakeLists.txt
@@ -6,8 +6,7 @@ target_include_directories("arch-x86_64" PUBLIC
)
target_link_libraries("arch-x86_64" PUBLIC
- "kern"
-
+ "arch::any"
"libs::multiboot2"
)