LibSystem: Slightly simplify CMakeLists.txt

LibSystem's source directory is included project-wide in
/CMakeLists.txt.
This commit is contained in:
Dan Klishch 2024-04-27 10:38:14 -04:00 committed by Andrew Kaster
parent e3e98ed3eb
commit 0b6c08c9a2
Notes: sideshowbarker 2024-07-17 06:35:23 +09:00

View file

@ -2,7 +2,6 @@ set(SOURCES
syscall.cpp
)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -nostdlib")
serenity_libc(LibSystem system)
add_dependencies(LibSystem install_libc_headers)
target_include_directories(LibSystem PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
target_link_options(LibSystem PRIVATE -nostdlib)