aboutsummaryrefslogtreecommitdiff
path: root/libs/elf/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libs/elf/CMakeLists.txt')
-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