aboutsummaryrefslogtreecommitdiff
path: root/libs/elf
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-03-20 17:39:00 +0100
committerFelix Morgner <felix.morgner@ost.ch>2026-03-20 17:39:00 +0100
commit52bc2d4105ac0d10d10831d470e9d0212dbb2b4d (patch)
treeb56d95d8b15a333a085696353de1a2de147c2483 /libs/elf
parent69b8b89542530eb7360dddd0875610f4cca9268b (diff)
downloadteachos-52bc2d4105ac0d10d10831d470e9d0212dbb2b4d.tar.xz
teachos-52bc2d4105ac0d10d10831d470e9d0212dbb2b4d.zip
libs: fix header globs
Diffstat (limited to 'libs/elf')
-rw-r--r--libs/elf/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/elf/CMakeLists.txt b/libs/elf/CMakeLists.txt
index 66e59ee..f254094 100644
--- a/libs/elf/CMakeLists.txt
+++ b/libs/elf/CMakeLists.txt
@@ -1,13 +1,13 @@
add_library("elf" INTERFACE)
add_library("libs::elf" ALIAS "elf")
+file(GLOB_RECURSE ELF_HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "include/**.hpp")
+
target_sources("elf" INTERFACE
FILE_SET HEADERS
BASE_DIRS "include"
FILES
- "include/elf/format.hpp"
- "include/elf/section_header.hpp"
-
+ ${ELF_HEADERS}
)
target_include_directories("elf" INTERFACE