Skip to content

Commit 4c1531a

Browse files
committed
build: Error if Proof support is requested with ROOT 6.32+
1 parent df6dce5 commit 4c1531a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,10 @@ find_package2(PUBLIC ROOT REQUIRED
149149
OPTIONAL_COMPONENTS ${optional_root_components})
150150
include(ROOTMacros)
151151

152+
if(ROOT_VERSION VERSION_GREATER_EQUAL 6.32 AND BUILD_PROOF_SUPPORT)
153+
message(FATAL_ERROR "ROOT::Proof support is not buildable, it was removed in ROOT 6.32+")
154+
endif()
155+
152156
#Check the compiler and set the compile and link flags
153157
Check_Compiler()
154158

0 commit comments

Comments
 (0)