Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Commit

Permalink
CMake: warn if KERNEL_FLAGS_PATH is missing
Browse files Browse the repository at this point in the history
This catches CMake setup errors.

Signed-off-by: Axel Heider <[email protected]>
  • Loading branch information
Axel Heider authored and kent-mcleod committed Jun 30, 2022
1 parent f0329ab commit 50aadce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions elfloader-tool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ if(KernelArchX86)
return()
endif()

if(NOT KERNEL_FLAGS_PATH)
# Seems the seL4 kernel CMake project was not included?
message(FATAL_ERROR "KERNEL_FLAGS_PATH is not set.")
endif()
include(${KERNEL_FLAGS_PATH})
include(cpio)

Expand Down

0 comments on commit 50aadce

Please sign in to comment.