Skip to content

Commit

Permalink
libsel4bench: fix include order
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Heider <axelheider@gmx.de>
  • Loading branch information
axel-h committed Nov 3, 2023
1 parent 3e0f087 commit 8153e79
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions libsel4bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,28 @@ file(
list(SORT deps)

add_library(sel4bench EXCLUDE_FROM_ALL ${deps})

if(KernelArchARM)
target_include_directories(
sel4bench
PUBLIC
include
"arch_include/${KernelArch}/armv/${KernelArmArmV}"
"arch_include/${KernelArch}/cpu/${KernelArmCPU}"
"sel4_arch_include/${KernelSel4Arch}/"
"arch_include/${KernelArch}"
src
)
if(KernelArmArmV STREQUAL "armv7ve")
target_include_directories(sel4bench PUBLIC "arch_include/${KernelArch}/armv/armv7-a")
endif()
endif()

target_include_directories(
sel4bench
PUBLIC
include
"sel4_arch_include/${KernelSel4Arch}"
"arch_include/${KernelArch}"
src
)

target_link_libraries(sel4bench muslc sel4 utils sel4_autoconf)

0 comments on commit 8153e79

Please sign in to comment.