From 8d191775a5eae445a8555e9d1061e4fa2248e1b7 Mon Sep 17 00:00:00 2001 From: Carsten Burgard <cburgard@cern.ch> Date: Thu, 17 Nov 2022 15:08:41 +0100 Subject: [PATCH] added protection to not include tests if already included --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8166d18..15ab601 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,7 @@ execute_process( COMMAND ln -sf ${RooUnfoldHeaders} -t ${CMAKE_CURRENT_BINARY_DI include(cmake/PlainROOT.cmake) -if(${RooUnfoldTests}) +if(${RooUnfoldTests} AND NOT RooUnfoldTests) include(cmake/testing.cmake) endif() -- GitLab