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