From ef51029330d266335ac7469a65e9c06658900d2d Mon Sep 17 00:00:00 2001 From: Axel Heider Date: Mon, 1 Apr 2024 01:26:04 +0200 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..26faee45 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_SETTINGS_CMAKE) + # use settings from the standard sel4test build + include(settings.cmake) +endif() project(sel4test C CXX ASM)