sort of works, but needs simpler fix

This commit is contained in:
Dhanya Maliakal 2017-07-27 12:07:44 +02:00
parent e360077e09
commit 1d073b6897

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 2.8)
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
set(HDF5_ROOT_DIR /opt/hdf5v1.10.0)
find_package(Qt4)
find_package(Qwt 6)
find_package(CBF)
@ -9,6 +9,7 @@ find_package(Doxygen)
find_package(HDF5 1.10)
set (REST OFF)
set (CALIBRATE OFF)
add_subdirectory(slsDetectorSoftware)
@ -17,12 +18,15 @@ if (QT4_FOUND AND QWT_FOUND)
add_subdirectory(slsDetectorGui)
endif()
if (DEFINED ENV{ROOTSYS})
find_package(ROOT)
if (ROOT_FOUND)
add_subdirectory(calibrationWizards)
endif()
endif()
if (CALIBRATE)
if (DEFINED ENV{ROOTSYS})
find_package(ROOT)
if (ROOT_FOUND)
add_subdirectory(calibrationWizards)
endif()
endif()
endif(CALIBRATE)