Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
f5125f6
[cmake] Do not auto force-enable or force-disable user CMake build op…
ferdymercury Aug 18, 2026
f3b8f27
[CMake] Produce an error when cuda=On and no CUDA compiler can be found.
ferdymercury Aug 18, 2026
61b250e
[cmake] explicitly enable daos_mock since testing is used in global
ferdymercury Aug 18, 2026
049a974
[ci] explicit build options to avoid contradictions
ferdymercury Aug 18, 2026
9dbafc5
[cmake] also prevent touching cache within RootBuildOptions
ferdymercury Aug 18, 2026
8dcc10b
[ci] explicitly enable testsupport and fix typo and ifcheck
ferdymercury Aug 18, 2026
b80800a
[cmake] rm superfluous single quotes in copy-pastable error message a…
ferdymercury Aug 19, 2026
2067dff
[cmake] make testing independent of (parallel to) testsupport
ferdymercury Aug 19, 2026
d49eb23
[ci] setting ON testsupport no longer needed
ferdymercury Aug 19, 2026
1427fc1
[cmake] clarify error message for each option
ferdymercury Aug 19, 2026
c7210c5
[cmake] Centralize connectivity call within ROOT_FIND_REQUIRED_DEP
ferdymercury Aug 24, 2026
d4bfe29
[cmake] rm intermerdiate sync point
ferdymercury Aug 24, 2026
7eeb874
[cmake] x11 asimage checks centralize
ferdymercury Aug 24, 2026
da7653e
[cmake] fix typo in CMake variable name
ferdymercury Aug 28, 2026
68b3bb2
[ci] add flags to asan build
ferdymercury Sep 5, 2026
e607ec6
[macos] do not forceenable libcxx
ferdymercury Sep 10, 2026
698ad63
change libcxx default value to ON for mac+clang
ferdymercury Sep 10, 2026
93ae4cb
[libcxx] do not silently force-OFF on Linux but rather error out
ferdymercury Sep 10, 2026
03c9523
[nfc] improve error message
ferdymercury Sep 10, 2026
538074e
[ci] explicit libcxx
ferdymercury Sep 10, 2026
a75c324
[cmake] mv check to right place after defvalue platform override
ferdymercury Sep 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ ccache=ON
builtin_civetweb=ON
builtin_vdt=ON
ccache=ON
daos_mock=ON
fail-on-missing=ON
minimal=ON
roottest=ON
testing=ON
vdt=ON
LSAN_OPTIONS=verbosity=1:log_threads=1
ROOT_CTEST_CUSTOM_FLAGS=-E \(gtest-core-metacling-TClingTest$\|roottest-cling-specialobj-runf02$\|roottest-root-collection-DeleteWarning$\|roottest-root-io-evolution-fixarr2$\|roottest-root-meta-rlibmap$\|roottest-root-tree-cloning-runtreeCloneTest2$\|roottest-root-treeproxy-vectorint-vectorint$\)
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
ccache=ON
builtin_civetweb=ON
builtin_vdt=ON
daos_mock=ON
fail-on-missing=ON
minimal=ON
roottest=ON
testing=ON
vdt=ON
2 changes: 2 additions & 0 deletions .github/workflows/root-ci-config/buildconfig/global.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ coverage=OFF
cuda=OFF
curl=ON
daos=OFF
daos_mock=ON
dataframe=ON
davix=ON
dcache=OFF
Expand Down Expand Up @@ -84,6 +85,7 @@ test_distrdf_pyspark=ON
test_roofit_hs3testsuite=ON
test_tmva_sofie=ON
testing=ON
testsupport=OFF
tmva-cpu=ON
tmva-gpu=OFF
tmva-cudnn=OFF
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ builtin_zstd=ON
check_connection=ON
cocoa=ON
davix=OFF
libcxx=ON
minuit2_omp=OFF
x11=OFF
1 change: 1 addition & 0 deletions .github/workflows/root-ci-config/buildconfig/mac14.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ builtin_xxhash=ON
builtin_zstd=ON
cocoa=ON
davix=OFF
libcxx=ON
minuit2_omp=OFF
test_distrdf_dask=OFF
test_distrdf_pyspark=OFF
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/root-ci-config/buildconfig/mac15.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ builtin_xxhash=ON
builtin_zstd=ON
cocoa=ON
davix=OFF
libcxx=ON
minuit2_omp=OFF
x11=OFF
1 change: 1 addition & 0 deletions .github/workflows/root-ci-config/buildconfig/mac26.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ builtin_zstd=ON
check_connection=ON
cocoa=ON
davix=OFF
libcxx=ON
minuit2_omp=OFF
x11=OFF
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ builtin_xxhash=ON
builtin_zlib=ON
builtin_zstd=ON
ccache=OFF
daos_mock=OFF
davix=OFF
fortran=OFF
llvm13_broken_tests=OFF
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/root-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
matrix:
# Specify platform + optional build option overrides
# Build options: https://root.cern/install/build_from_source/#all-build-options
platform: [mac26, mac27, mac-beta]

Check failure on line 123 in .github/workflows/root-ci.yml

View workflow job for this annotation

GitHub Actions / lint-action-files

label "mac27" is unknown. available labels are "windows-latest", "windows-latest-8-cores", "windows-2025", "windows-2025-vs2026", "windows-2022", "windows-11-arm", "ubuntu-slim", "ubuntu-latest", "ubuntu-latest-4-cores", "ubuntu-latest-8-cores", "ubuntu-latest-16-cores", "ubuntu-24.04", "ubuntu-24.04-arm", "ubuntu-22.04", "ubuntu-22.04-arm", "macos-latest", "macos-latest-xlarge", "macos-latest-large", "macos-26-intel", "macos-26-xlarge", "macos-26-large", "macos-26", "macos-15-intel", "macos-15-xlarge", "macos-15-large", "macos-15", "macos-14-xlarge", "macos-14-large", "macos-14", "self-hosted", "x64", "arm", "arm64", "linux", "macos", "windows", "mac14", "mac15", "mac26", "mac-beta", "cpu", "latest", "preview". if it is a custom label for self-hosted runner, set list of labels in actionlint.yaml config file
arch: [ARM64]
include:
- platform: mac15
Expand All @@ -132,7 +132,7 @@
- self-hosted
- ${{ matrix.platform }}

name: |

Check failure on line 135 in .github/workflows/root-ci.yml

View workflow job for this annotation

GitHub Actions / lint-action-files

property "overrides" is not defined in object type {arch: string; is_special: bool; platform: string}
${{ matrix.platform }} ${{ matrix.arch }}
${{ (github.event_name != 'schedule' && github.event_name != 'workflow_dispatch' && join( matrix.overrides, ', ' )) || '' }}

Expand All @@ -151,8 +151,8 @@
if: github.event_name == 'pull_request'
env:
GITHUB_PR_ORIGIN: ${{ github.event.pull_request.head.repo.clone_url }}
OVERRIDES: ${{ join( matrix.overrides, ' ') }}

Check failure on line 154 in .github/workflows/root-ci.yml

View workflow job for this annotation

GitHub Actions / lint-action-files

property "overrides" is not defined in object type {arch: string; is_special: bool; platform: string}
run: |

Check failure on line 155 in .github/workflows/root-ci.yml

View workflow job for this annotation

GitHub Actions / lint-action-files

"github.event.pull_request.head.ref" is potentially untrusted. avoid using it directly in inline scripts. instead, pass it through an environment variable. see https://docs.github.com/en/actions/reference/security/secure-use#good-practices-for-mitigating-script-injection-attacks for more details
[ -d "${VIRTUAL_ENV_DIR}" ] && source ${VIRTUAL_ENV_DIR}/bin/activate
echo "Python is now $(which python3) $(python3 --version)"
src/.github/workflows/root-ci-config/build_root.py \
Expand Down Expand Up @@ -402,7 +402,7 @@
- image: alma10
- image: ubuntu22
python_venv: "/py-venv-3.12/ROOT-CI"
overrides: ["imt=Off", "CMAKE_BUILD_TYPE=Debug"]
overrides: ["imt=Off", "tmva-cpu=OFF", "CMAKE_BUILD_TYPE=Debug"]
- image: ubuntu2404
overrides: ["CMAKE_BUILD_TYPE=Debug"]
- image: ubuntu2604
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/root-docs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:

- name: Apply option overrides
env:
OVERRIDES: "testing=Off roottest=Off"
OVERRIDES: "testing=Off", "roottest=Off", "daos_mock=Off"
CONFIGFILE: '.github/workflows/root-ci-config/buildconfig/alma9.txt'
shell: bash
run: |
Expand Down
1 change: 1 addition & 0 deletions README/ReleaseNotes/v642/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ The following people have contributed to this new version:
Note that `all=ON` enables several of these options, so building with `-Dall=ON` now requires all of their dependencies to be installed, or the unwanted ones to be disabled explicitly.
Build options that are enabled by default, such as `pyroot`, `opengl`, `xml`, `sqlite`, `davix`, `curl`, `tmva-cpu` or `tpython` are not affected: they are still disabled automatically when their dependencies are missing.
* The option `fail-on-missing=OFF` will no longer be honored for CMake ROOT build options that have easy-to-install dependencies (e.g. via homebrew or apt-get), such as those required by options `cfitsio`, `civetweb`, `fftw3`, `imt`, `mathmore`, `nlohmann_json`, `tmva-cpu`, `unuran`, `vdt` or `xrootd`. Before, associated `builtin_option` was automatically turned ON (or the opt-in feature turned to OFF), now, user has to install system package or manually set `builtin_option` to `ON` or opt-in feature to `OFF`.
* Irrespective of the value of `fail-on-missing`, all ROOT build options that are contradictory or are missing a dependency will now raise an error rather than letting the build system to automatically turn features OFF or ON. A helpful error message will be printed stating what packages need to be installed or what build flags need to be changed.
* The use of `CINT`-like implicit declarations such as `i = 0` is deprecated since [ROOT 6.32](https://root.cern/doc/v632/release-notes.html#deprecation-and-removal) and emits warnings `declaration without the 'auto' keyword is deprecated`. ROOT 6.44 will be the last release to support this syntax, after ROOT 6.44, the warning will turn into an error. Update those declarations by explicitly using the `auto` keyword: `auto i = 0`.
* The legacy evaluation backend of RooFit and the related `RooFit::BatchMode()` command argument are deprecated and will be removed in ROOT 6.44. See the RooFit section below for details.
* The method `RooRealVar::removeRange()` and the corresponding method in `RooErrorVar` that were deprecated in ROOT 6.40 are now removed.
Expand Down
6 changes: 4 additions & 2 deletions cmake/modules/CheckCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ if(fortran)
endif()
if(NOT CMAKE_Fortran_COMPILER)
message(SEND_ERROR "No Fortran compiler found. Please make sure it's installed, or disable ROOT's Fortran features with '-Dfortran=OFF'")
list(APPEND MISSING_PACKAGES 'gfortran')
list(APPEND HOTFIX_BUILD_FLAGS -Dfortran=OFF)
endif()
else()
set(CMAKE_Fortran_COMPILER CMAKE_Fortran_COMPILER-NOTFOUND)
Expand Down Expand Up @@ -205,8 +207,8 @@ endif()
if(libcxx)
CHECK_CXX_COMPILER_FLAG("-stdlib=libc++" HAS_LIBCXX11)
if(NOT HAS_LIBCXX11)
message(STATUS "Current compiler does not support -stdlib=libc++ option. Switching OFF libcxx option")
set(libcxx OFF CACHE BOOL "" FORCE)
message(SEND_ERROR "Current compiler ${CMAKE_CXX_COMPILER_ID} does not support -stdlib=libc++ option. Install compatible compiler or set -Dlibcxx=OFF")
list(APPEND HOTFIX_BUILD_FLAGS -Dlibcxx=OFF)
endif()
endif()

Expand Down
127 changes: 106 additions & 21 deletions cmake/modules/RootBuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ ROOT_BUILD_OPTION(coverage OFF "Enable compile flags for coverage testing")
ROOT_BUILD_OPTION(cuda OFF "Enable support for CUDA (requires CUDA toolkit >= 7.5)")
ROOT_BUILD_OPTION(curl ON "Enable support for HTTP(S) through libcurl")
ROOT_BUILD_OPTION(daos OFF "Enable RNTuple support for Intel DAOS")
ROOT_BUILD_OPTION(daos_mock OFF "Use libdaos_mock for RNTuple, use only for testing. Mutually exclusive with daos")
ROOT_BUILD_OPTION(dataframe ON "Enable ROOT RDataFrame")
ROOT_BUILD_OPTION(davix ON "Enable support for Davix (HTTP/WebDAV access)")
ROOT_BUILD_OPTION(dcache OFF "Enable support for dCache (requires libdcap from DESY)")
Expand Down Expand Up @@ -158,14 +159,14 @@ ROOT_BUILD_OPTION(roofit ON "Build the advanced fitting package RooFit, and RooS
ROOT_BUILD_OPTION(root7 ON "Build ROOT 7 experimental components of ROOT")
ROOT_BUILD_OPTION(runtime_cxxmodules ON "Enable runtime support for C++ modules")
ROOT_BUILD_OPTION(shadowpw OFF "Enable support for shadow passwords")
ROOT_BUILD_OPTION(shared ON "Use shared 3rd party libraries if possible")
ROOT_BUILD_OPTION(shared ON "Use shared 3rd party libraries if possible (OFF not supported on Windows)")
ROOT_BUILD_OPTION(soversion OFF "Set version number in sonames for shared libraries. Not recommended, as the pcm and rootmap files do not (yet) support versioning and always point to the non-versioned shared libraries.")
ROOT_BUILD_OPTION(spectrum ON "Enable support for TSpectrum")
ROOT_BUILD_OPTION(sqlite ON "Enable support for SQLite")
ROOT_BUILD_OPTION(ssl ON "Enable support for SSL encryption via OpenSSL")
ROOT_BUILD_OPTION(test_distrdf_dask OFF "Enable distributed RDataFrame tests that use dask")
ROOT_BUILD_OPTION(test_distrdf_pyspark OFF "Enable distributed RDataFrame tests that use pyspark")
ROOT_BUILD_OPTION(testsupport OFF "Build the ROOT::TestSupport library required to use all features of ROOT_ADD_GTEST and similar macros (requires gtest at build time)")
ROOT_BUILD_OPTION(testsupport OFF "Build the ROOT::TestSupport library required to use ROOT_ADD_GTEST and similar macros by downstream users (requires gtest at build time). Even if OFF, this library is still built if testing=ON")
ROOT_BUILD_OPTION(thisroot_scripts ON "Build scripts like thisroot.{sh, fish, etc.} that set environment paths for using ROOT. Usually not needed when building ROOT for the distribution with a package manager.")
ROOT_BUILD_OPTION(tmva ON "Build TMVA multi variate analysis library")
ROOT_BUILD_OPTION(tmva-cpu ON "Build TMVA with CPU support for deep learning (requires BLAS)")
Expand All @@ -191,11 +192,11 @@ option(clingtest "Enable cling tests (Note: that this makes llvm/clang symbols v
option(fail-on-missing "Fail at configure time if a required package cannot be found" OFF)
option(gminimal "Enable only required options by default, but include X11/Cocoa" OFF)
option(minimal "Enable only required options by default" OFF)
option(rootbench "Build rootbench if rootbench exists in root or if it is a sibling directory (implies testing=ON)" OFF)
option(roottest "Build roottest (implies testing=ON)" OFF)
option(rootbench "Build rootbench if rootbench exists in root or if it is a sibling directory (requires testing=ON)" OFF)
option(roottest "Build roottest (requires testing=ON)" OFF)
option(test_roofit_hs3testsuite "Setup and use the HS3 conformance test suite (requires network)" OFF)
option(test_tmva_sofie "Enable SOFIE tests (requires BLAS library that can be found with CMake's FindBLAS)" ON)
option(testing "Enable testing with CTest" OFF)
option(testing "Enable testing with CTest and GTest" OFF)
option(asan "Build ROOT with address sanitizer instrumentation (see core/sanitizer for details)" OFF)
option(_wheel_build "ROOT is being packaged as a wheel, do not install .dist-info metadata" OFF)

Expand Down Expand Up @@ -300,13 +301,20 @@ if(WIN32)
elseif(APPLE)
set(cocoa_defvalue ON)
set(x11_defvalue OFF)
if(${CMAKE_CXX_COMPILER_ID} MATCHES Clang)
set(libcxx_defvalue ON)
endif()
endif()

# builtin_openssl is only supported on macOS
if(builtin_openssl AND NOT APPLE)
message(FATAL_ERROR ">>> Option 'builtin_openssl' is only supported on macOS.")
endif()

if(WIN32 AND NOT shared)
message(FATAL_ERROR "Option \"shared=Off\" not supported on Windows!")
endif()

#---Options depending of CMake Generator-------------------------------------------------------
if( CMAKE_GENERATOR STREQUAL Ninja)
set(fortran_defvalue OFF)
Expand Down Expand Up @@ -334,45 +342,122 @@ endif()
#---Define at moment the options with the selected default values------------------------------
ROOT_APPLY_OPTIONS()

#---roottest option implies testing
if(roottest OR rootbench)
set(testing ON CACHE BOOL "" FORCE)
if(APPLE AND ${CMAKE_CXX_COMPILER_ID} MATCHES Clang)
if (NOT libcxx)
message(SEND_ERROR "libcxx=ON is needed for Clang compilers on Apple")
list(APPEND HOTFIX_BUILD_FLAGS -Dlibcxx=ON)
endif()
endif()

#---testing implies testsupport
if(testing)
set(testsupport ON CACHE BOOL "" FORCE)
# builtins require feature
if (builtin_fftw3 AND NOT fftw3)
message(SEND_ERROR "-Dbuiltin_fftw3=ON requires -Dfftw3=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dfftw3=ON)
endif()
if (builtin_xrootd AND NOT xrootd)
message(SEND_ERROR "-Dbuiltin_xrootd=ON requires -Dxrootd=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dxrootd=ON)
endif()
if (builtin_cfitsio AND NOT fitsio)
message(SEND_ERROR "-Dbuiltin_cfitsio=ON requires -Dfitsio=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dfitsio=ON)
endif()
if (builtin_gl2ps AND NOT opengl)
message(SEND_ERROR "-Dbuiltin_gl2ps=ON requires -Dopengl=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dopengl=ON)
endif()
if (builtin_ftgl AND NOT opengl)
message(SEND_ERROR "-Dbuiltin_ftgl=ON requires -Dopengl=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dopengl=ON)
endif()
if (builtin_tbb AND NOT imt)
message(SEND_ERROR "-Dbuiltin_tbb=ON requires -Dimt=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dimt=ON)
endif()
if (builtin_vdt AND NOT vdt)
message(SEND_ERROR "-Dbuiltin_vdt=ON requires -Dvdt=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dvdt=ON)
endif()
if (builtin_gtest AND NOT (testing OR testsupport))
message(SEND_ERROR "-Dbuiltin_gtest=ON requires -Dtesting=ON or -Dtestsupport=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dtestsupport=ON)
endif()
if(builtin_openui5 AND NOT webgui)
message(SEND_ERROR "-Dbuiltin_openui5=ON requires -Dwebgui=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dwebgui=ON)
endif()
if (builtin_openssl AND NOT ssl)
message(SEND_ERROR "-Dbuiltin_openssl=ON requires -Dssl=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dssl=ON)
endif()
# On Linux, OpenGL should be working only with x11
if(NOT WIN32 AND NOT APPLE)
if(opengl AND NOT x11)
message(SEND_ERROR "OpenGL requires x11 on Linux, either disable opengl or set -Dx11=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dopengl=OFF)
endif()
endif()
#---Check for Cocoa/Quartz graphics backend (MacOS X only)---------------------------
# Note that this check happens *after* the above check for FreeType because that
# library is needed for builds on Apple with Cocoa graphics
if(cocoa)
if(APPLE)
if (x11)
message(SEND_ERROR "x11 (${x11_description}) and cocoa cannot be enabled simultaneously. Set -Dcocoa=OFF")
list(APPEND HOTFIX_BUILD_FLAGS -Dcocoa=OFF)
endif()
else()
message(SEND_ERROR "Cocoa option can only be enabled on MacOSX platform. Set -Dcocoa=OFF")
list(APPEND HOTFIX_BUILD_FLAGS -Dcocoa=OFF)
endif()
elseif(asimage AND NOT x11 AND NOT WIN32)
message(SEND_ERROR "asimage on Unix requires x11, either disable asimage or set -Dx11=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dasimage=OFF)
endif()

#---ensure that the cuda option is sound
if(cuda AND NOT CMAKE_CUDA_COMPILER)
message(FATAL_ERROR "Option cuda=On, but CMAKE_CUDA_COMPILER='${CMAKE_CUDA_COMPILER}'")
#---roottest/rootbench options require testing
if (roottest AND NOT testing)
message(SEND_ERROR "-Droottest=ON requires -Dtesting=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dtesting=ON)
endif()
if (rootbench AND NOT testing)
message(SEND_ERROR "-Drootbench=ON requires -Dtesting=ON")
list(APPEND HOTFIX_BUILD_FLAGS -Dtesting=ON)
endif()

#---running HS3 test suite requires both testing and pyroot, but testing globally disables tests
if(testing AND test_roofit_hs3testsuite AND NOT pyroot)
message(FATAL_ERROR "-Dtest_roofit_hs3testsuite=ON requires both -Dtesting=ON and -Dpyroot=ON)")
message(SEND_ERROR "-Dtest_roofit_hs3testsuite=ON requires both -Dtesting=ON and -Dpyroot=ON)")
list(APPEND HOTFIX_BUILD_FLAGS -Dpyroot=ON)
endif()

if(unfold AND NOT xml)
message(STATUS "Cannot enable unfold without enabling xml: unfold is disabled.")
set(unfold OFF)
message(SEND_ERROR "Cannot enable unfold without enabling -Dxml=ON.")
list(APPEND HOTFIX_BUILD_FLAGS -Dxml=ON)
endif()

if (NOT builtin_cling)
if (builtin_clang OR builtin_llvm)
message(WARNING "No need to build internal llvm or clang. Consider turning builtin_clang=Off and builtin_llvm=Off")
list(APPEND HOTFIX_BUILD_FLAGS -Dbuiltin_clang=OFF)
list(APPEND HOTFIX_BUILD_FLAGS -Dbuiltin_llvm=OFF)
endif()
endif(NOT builtin_cling)

if(NOT http AND webgui)
message(WARNING "Cannot build WebGui components without HTTP: webgui is disabled.")
set(webgui OFF)
message(SEND_ERROR "Cannot build WebGui components without HTTP: enable -Dhttp=ON or set -Dwebgui=OFF.")
list(APPEND HOTFIX_BUILD_FLAGS -Dwebgui=OFF)
endif()

if(NOT webgui)
set(qt6web OFF CACHE BOOL "Disabled because webgui not build" FORCE)
set(cefweb OFF CACHE BOOL "Disabled because webgui not build" FORCE)
if(qt6web)
message(SEND_ERROR "Cannot build qt6web without webgui and http: enable -Dwebgui=ON -Dhttp=ON or set -Dqt6web=OFF.")
list(APPEND HOTFIX_BUILD_FLAGS -Dqt6web=OFF)
endif()
if(qt6web)
message(SEND_ERROR "Cannot build cefweb without webgui and http: enable -Dwebgui=ON -Dhttp=ON or set -Dcefweb=OFF.")
list(APPEND HOTFIX_BUILD_FLAGS -Dcefweb=OFF)
endif()
endif()

#---Removed options------------------------------------------------------------
Expand Down
Loading
Loading