Skip to content
Merged
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions cmake/modules/RootBuildOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +339,9 @@ if(testing)
set(testsupport ON CACHE BOOL "" FORCE)
endif()

#---running HS3 test suite requires both testing and pyroot
if(test_roofit_hs3testsuite AND (NOT testing OR NOT pyroot))
message(FATAL_ERROR "-Dtest_roofit_hs3testsuite=ON requires both -Dtesting=ON and -Dpyroot=ON)")
#---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)")
endif()

if(unfold AND NOT xml)
Expand Down
Loading