@@ -643,7 +643,7 @@ if(mathmore OR builtin_gsl OR (tmva-cpu AND use_gsl_cblas))
643
643
set (GSL_INCLUDE_DIR ${CMAKE_BINARY_DIR} /GSL-prefix /src/GSL-build )
644
644
set (GSL_FOUND ON )
645
645
if (NOT mathmore)
646
- message (WARNING "builtin_gls was enabled but mathmore wasn't " )
646
+ message (FATAL_ERROR "builtin_gls was enabled, conflict with mathmore=OFF " )
647
647
endif ()
648
648
endif ()
649
649
endif ()
@@ -931,7 +931,7 @@ if(fftw3)
931
931
endif ()
932
932
if (builtin_fftw3)
933
933
if (NOT fftw3)
934
- message (WARNING "fftw3 is OFF, hence ignoring the activated setting 'builtin_fftw3'" )
934
+ message (FATAL_ERROR "fftw3 is OFF, conflict with the activated setting 'builtin_fftw3'" )
935
935
else ()
936
936
set (FFTW_VERSION 3.3.8)
937
937
message (STATUS "Downloading and building FFTW version ${FFTW_VERSION} " )
@@ -960,7 +960,7 @@ if(fitsio OR builtin_cfitsio)
960
960
endif ()
961
961
if (builtin_cfitsio)
962
962
if (NOT fitsio)
963
- message (WARNING "fitsio is OFF, hence ignoring the activated setting 'builtin_cfitsio'" )
963
+ message (FATAL_ERROR "fitsio is OFF, conflict with the activated setting 'builtin_cfitsio'" )
964
964
else ()
965
965
add_library (CFITSIO::CFITSIO STATIC IMPORTED GLOBAL )
966
966
add_subdirectory (builtins/cfitsio)
@@ -1026,7 +1026,7 @@ endif()
1026
1026
1027
1027
if (builtin_xrootd)
1028
1028
if (NOT xrootd)
1029
- message (WARNING "xrootd is OFF, hence ignoring the activated setting 'builtin_xrootd'" )
1029
+ message (FATAL_ERROR "xrootd is OFF, conflict with the activated setting 'builtin_xrootd'" )
1030
1030
else ()
1031
1031
ROOT_CHECK_CONNECTION("builtin_xrootd=OFF" )
1032
1032
if (NO_CONNECTION)
@@ -1200,7 +1200,7 @@ endif()
1200
1200
1201
1201
if (builtin_davix)
1202
1202
if (NOT davix)
1203
- message (WARNING "davix is OFF, hence ignoring the activated setting 'builtin_davix'" )
1203
+ message (FATAL_ERROR "davix is OFF, conflict with the activated setting 'builtin_davix'" )
1204
1204
else ()
1205
1205
ROOT_CHECK_CONNECTION("builtin_davix=OFF" )
1206
1206
if (NO_CONNECTION)
@@ -1305,7 +1305,7 @@ endif()
1305
1305
1306
1306
if (builtin_tbb)
1307
1307
if (NOT imt)
1308
- message (WARNING "imt is OFF, hence ignoring the activated setting 'builtin_tbb'" )
1308
+ message (FATAL_ERROR "imt is OFF, conflict with the activated setting 'builtin_tbb'" )
1309
1309
else ()
1310
1310
ROOT_CHECK_CONNECTION("builtin_tbb=OFF" )
1311
1311
if (NO_CONNECTION)
@@ -1390,7 +1390,7 @@ endif()
1390
1390
#---Check for Vc---------------------------------------------------------------------
1391
1391
if (builtin_vc)
1392
1392
if (NOT vc)
1393
- message (WARNING "vc is OFF, hence ignoring the activated setting 'builtin_vc'" )
1393
+ message (FATAL_ERROR "vc is OFF, conflict with the activated setting 'builtin_vc'" )
1394
1394
else ()
1395
1395
unset (Vc_FOUND)
1396
1396
unset (Vc_FOUND CACHE )
@@ -1513,7 +1513,7 @@ endif()
1513
1513
1514
1514
if (builtin_veccore)
1515
1515
if (NOT veccore)
1516
- message (WARNING "veccore is OFF, hence ignoring the activated setting 'builtin_veccore'" )
1516
+ message (FATAL_ERROR "veccore is OFF, conflict with the activated setting 'builtin_veccore'" )
1517
1517
else ()
1518
1518
set (VecCore_VERSION "0.8.2" )
1519
1519
set (VecCore_PROJECT "VecCore-${VecCore_VERSION} " )
@@ -1605,7 +1605,7 @@ if(vdt OR builtin_vdt)
1605
1605
endif ()
1606
1606
if (builtin_vdt)
1607
1607
if (NOT vdt)
1608
- message (WARNING "vdt is OFF, hence ignoring the activated setting 'builtin_vdt'" )
1608
+ message (FATAL_ERROR "vdt is OFF, conflict with the activated setting 'builtin_vdt'" )
1609
1609
else ()
1610
1610
set (vdt_version 0.4.6)
1611
1611
set (VDT_FOUND True )
0 commit comments