cmake: update for compatibility with CMake 4.0

This commit is contained in:
2026-03-22 13:11:10 +00:00
parent ac8f669e6b
commit 119a86b8e6
12 changed files with 36 additions and 32 deletions

View File

@@ -1,6 +1,6 @@
file(GLOB sources *.c)
add_executable(systemd ${sources})
target_link_libraries(systemd libc libc-runtime liblaunch libmango)
target_link_libraries(systemd libc libc-runtime libpthread liblaunch libmango)
sysroot_add_program(
NAME systemd

View File

@@ -1,5 +1,5 @@
add_executable(test test.c)
target_link_libraries(test libc libc-runtime liblaunch)
target_link_libraries(test libc libc-runtime libmango liblaunch)
sysroot_add_program(
NAME test