@@ -644,7 +644,7 @@ if(mathmore OR builtin_gsl OR (tmva-cpu AND use_gsl_cblas))
644644 set (GSL_INCLUDE_DIR ${CMAKE_BINARY_DIR} /GSL-prefix /src/GSL-build )
645645 set (GSL_FOUND ON )
646646 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 " )
648648 endif ()
649649 endif ()
650650endif ()
@@ -932,7 +932,7 @@ if(fftw3)
932932endif ()
933933if (builtin_fftw3)
934934 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'" )
936936 else ()
937937 set (FFTW_VERSION 3.3.8)
938938 message (STATUS "Downloading and building FFTW version ${FFTW_VERSION} " )
@@ -961,7 +961,7 @@ if(fitsio OR builtin_cfitsio)
961961 endif ()
962962 if (builtin_cfitsio)
963963 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'" )
965965 else ()
966966 add_library (CFITSIO::CFITSIO STATIC IMPORTED GLOBAL )
967967 add_subdirectory (builtins/cfitsio)
@@ -1027,7 +1027,7 @@ endif()
10271027
10281028if (builtin_xrootd)
10291029 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'" )
10311031 else ()
10321032 ROOT_CHECK_CONNECTION("builtin_xrootd=OFF" )
10331033 if (NO_CONNECTION)
@@ -1201,7 +1201,7 @@ endif()
12011201
12021202if (builtin_davix)
12031203 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'" )
12051205 else ()
12061206 ROOT_CHECK_CONNECTION("builtin_davix=OFF" )
12071207 if (NO_CONNECTION)
@@ -1306,7 +1306,7 @@ endif()
13061306
13071307if (builtin_tbb)
13081308 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'" )
13101310 else ()
13111311 ROOT_CHECK_CONNECTION("builtin_tbb=OFF" )
13121312 if (NO_CONNECTION)
@@ -1391,7 +1391,7 @@ endif()
13911391#---Check for Vc---------------------------------------------------------------------
13921392if (builtin_vc)
13931393 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'" )
13951395 else ()
13961396 unset (Vc_FOUND)
13971397 unset (Vc_FOUND CACHE )
@@ -1515,7 +1515,7 @@ endif()
15151515
15161516if (builtin_veccore)
15171517 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'" )
15191519 else ()
15201520 set (VecCore_VERSION "0.8.2" )
15211521 set (VecCore_PROJECT "VecCore-${VecCore_VERSION} " )
@@ -1607,7 +1607,7 @@ if(vdt OR builtin_vdt)
16071607 endif ()
16081608 if (builtin_vdt)
16091609 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'" )
16111611 else ()
16121612 set (vdt_version 0.4.6)
16131613 set (VDT_FOUND True )
0 commit comments