From 9fecb18fa0759eb70f0895342b9e3028ca4a3be0 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 9b8b7a1b..2aca579f 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)