From 0ecf62770489bec8134d4ac46d8dc5593d4599f5 Mon Sep 17 00:00:00 2001 From: Axel Heider Date: Fri, 12 Mar 2021 18:01:25 +0100 Subject: [PATCH] CMake: allow skipping include of settings.cmake Signed-off-by: Axel Heider --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a3b3becc..886e4a01 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,10 @@ cmake_minimum_required(VERSION 3.7.2) -include(settings.cmake) +if(NOT SEL4TEST_DONT_USE_SEL4_DEFAULT_BUILD_SYSTEM) + # include the settings from the standard sel4 build system + include(settings.cmake) +endif() project(sel4test C CXX ASM)