From 0807e130e496c9b44edd3cabd30d350fac329d9b Mon Sep 17 00:00:00 2001 From: wang_x1 Date: Thu, 1 Sep 2016 11:14:29 +0200 Subject: [PATCH] optionally build calibrationWizards --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 409ffa3d9..ba47cf9c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,3 +12,10 @@ add_subdirectory(slsImageReconstruction) if (QWT_FOUND) add_subdirectory(slsDetectorGui) endif() + +if (DEFINED ENV{ROOTSYS}) + find_package(ROOT) + if (ROOT_FOUND) + add_subdirectory(calibrationWizards) + endif() +endif()