summaryrefslogtreecommitdiff
path: root/Libraries
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2020-10-28 20:01:29 +0100
committerAndreas Kling <kling@serenityos.org>2020-10-29 11:52:47 +0100
commit607931268eabb002fbe7ffaa1550d09e8dac159f (patch)
tree51c3fb17d605b58e22d899398d88659862141462 /Libraries
parent3dbf4c62b00c2deef36e283c33dcbd214d073313 (diff)
downloadserenity-607931268eabb002fbe7ffaa1550d09e8dac159f.zip
CMake: Use CONFIGURE_DEPENDS in existing globs.
Diffstat (limited to 'Libraries')
-rw-r--r--Libraries/LibC/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Libraries/LibC/CMakeLists.txt b/Libraries/LibC/CMakeLists.txt
index 7d8960be66..62b6ae9988 100644
--- a/Libraries/LibC/CMakeLists.txt
+++ b/Libraries/LibC/CMakeLists.txt
@@ -48,8 +48,8 @@ set(LIBC_SOURCES
wchar.cpp
)
-file(GLOB AK_SOURCES "../../AK/*.cpp")
-file(GLOB ELF_SOURCES "../LibELF/*.cpp")
+file(GLOB AK_SOURCES CONFIGURE_DEPENDS "../../AK/*.cpp")
+file(GLOB ELF_SOURCES CONFIGURE_DEPENDS "../LibELF/*.cpp")
set(ELF_SOURCES ${ELF_SOURCES} ../LibELF/Arch/i386/plt_trampoline.S)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unknown-warning-option -DSERENITY_LIBC_BUILD")