diff --git a/CMakeLists.txt b/CMakeLists.txt index 775a2adc11..1e01cbeb27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,7 +130,7 @@ add_compile_options(-ffile-prefix-map=${CMAKE_SOURCE_DIR}=.) add_compile_definitions(DEBUG SANITIZE_PTRS) set(CMAKE_CXX_FLAGS_STATIC "${CMAKE_CXX_FLAGS} -static") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pie -fpic") - + add_link_options(--sysroot ${CMAKE_BINARY_DIR}/Root) include_directories(Libraries/LibC) diff --git a/Kernel/CMakeLists.txt b/Kernel/CMakeLists.txt index 5a8667b2d8..91a1ac8172 100644 --- a/Kernel/CMakeLists.txt +++ b/Kernel/CMakeLists.txt @@ -21,7 +21,7 @@ set(KERNEL_SOURCES Devices/BXVGADevice.cpp Devices/BlockDevice.cpp Devices/CharacterDevice.cpp - Devices/Device.cpp + Devices/Device.cpp Devices/FullDevice.cpp Devices/I8042Controller.cpp Devices/KeyboardDevice.cpp