From ed9029c26d9869d3a5ed11985c218e3ac3e07009 Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Mon, 30 Oct 2017 13:04:45 +0100 Subject: [PATCH] Only build roofit/ if ROOT has roofit enabled. --- root/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/root/CMakeLists.txt b/root/CMakeLists.txt index 4890b1f0..cdb11ab4 100644 --- a/root/CMakeLists.txt +++ b/root/CMakeLists.txt @@ -1,4 +1,5 @@ add_subdirectory(math) #add_subdirectory(io) -add_subdirectory(roofit) - +if (ROOT_roofit_FOUND) + add_subdirectory(roofit) +endif()