mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 03:10:02 +02:00
changes for the cmake
This commit is contained in:
parent
a5f3de61a9
commit
e360077e09
@ -1,14 +1,18 @@
|
|||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
|
||||||
|
|
||||||
|
|
||||||
find_package(Qt4)
|
find_package(Qt4)
|
||||||
find_package(Qwt 6)
|
find_package(Qwt 6)
|
||||||
find_package(CBF)
|
find_package(CBF)
|
||||||
find_package(Doxygen)
|
find_package(Doxygen)
|
||||||
|
find_package(HDF5 1.10)
|
||||||
|
|
||||||
|
set (REST OFF)
|
||||||
|
|
||||||
|
|
||||||
add_subdirectory(slsDetectorSoftware)
|
add_subdirectory(slsDetectorSoftware)
|
||||||
add_subdirectory(slsReceiverSoftware)
|
add_subdirectory(slsReceiverSoftware)
|
||||||
add_subdirectory(slsImageReconstruction)
|
|
||||||
if (QT4_FOUND AND QWT_FOUND)
|
if (QT4_FOUND AND QWT_FOUND)
|
||||||
add_subdirectory(slsDetectorGui)
|
add_subdirectory(slsDetectorGui)
|
||||||
endif()
|
endif()
|
||||||
@ -19,3 +23,7 @@ if (DEFINED ENV{ROOTSYS})
|
|||||||
add_subdirectory(calibrationWizards)
|
add_subdirectory(calibrationWizards)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ endif
|
|||||||
# HDF5 code: in this case, you need HDF5 libraries
|
# HDF5 code: in this case, you need HDF5 libraries
|
||||||
##############################################################
|
##############################################################
|
||||||
|
|
||||||
HDF5 = no
|
HDF5 = yes
|
||||||
HDF5_DIR = /opt/hdf5v1.10.0
|
HDF5_DIR = /opt/hdf5v1.10.0
|
||||||
|
|
||||||
ifeq ($(HDF5),yes)
|
ifeq ($(HDF5),yes)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user