aboutsummaryrefslogtreecommitdiff
path: root/libs/kstd/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/kstd/CMakeLists.txt')
-rw-r--r--libs/kstd/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/kstd/CMakeLists.txt b/libs/kstd/CMakeLists.txt
index ac9e78f..666a5d7 100644
--- a/libs/kstd/CMakeLists.txt
+++ b/libs/kstd/CMakeLists.txt
@@ -2,6 +2,9 @@ add_library("kstd" STATIC)
add_library("libs::kstd" ALIAS "kstd")
target_sources("kstd" PRIVATE
+ "src/bits/os.cpp"
+ "src/cstdlib.cpp"
+ "src/cstring.cpp"
"src/mutex.cpp"
)
@@ -23,3 +26,8 @@ target_sources("kstd" PUBLIC
target_include_directories("kstd" PUBLIC
"include"
)
+
+target_link_options("kstd" INTERFACE
+ "-Wl,--undefined=abort"
+ "-Wl,--undefined=strlen"
+) \ No newline at end of file