From aa04e5c89c81376f7a945370c5dfd5df0683df39 Mon Sep 17 00:00:00 2001 From: flagarde Date: Wed, 17 Jan 2024 12:36:22 +0800 Subject: [PATCH] fix --- Settings.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Settings.cmake b/Settings.cmake index 43848f3..40bbb21 100644 --- a/Settings.cmake +++ b/Settings.cmake @@ -5,8 +5,9 @@ ## ## ###################################### ###################################### -if(DEFINED ENV{CI}) - option(USE_SYSTEM_ROOT "Try to find a ROOT installation and use it" OFF) +set(CI TRUE) +if(DEFINED ENV{CI} OR DEFINED CI) + option(USE_SYSTEM_ROOT "Try to find a ROOT installation and use it" ON) option(BUILD_DOCS "Build the docs" FALSE) option(BUILD_TESTS "Build the tests" FALSE) option(BUILD_EXAMPLES "Build the examples" FALSE)