Commit 06482c6e authored by Lennart Huth's avatar Lennart Huth
Browse files

adjusted FindMUPIX8.cmake

parent 9c063905
# - Try to find the MuPix telescope DAQ # - Try to find the MuPix telescope DAQ
# Once done this will define # Once done this will define
# MUPIX8DAQ_FOUND - System has EUDAQ # MUPIX8DAQ_FOUND - System has MuPixDAQ
# MUPIX8DAQ_INCLUDE_DIR - The EUDAQ main include directories # MUPIX8DAQ_INCLUDE_DIR - The MuPixDAQ main include directories
# MUPIX8DAQ_LIBRARY - The libraries needed to use EUDAQ # MUPIX8DAQ_LIBRARY - The libraries needed to use MuPixDAQ
MESSAGE(STATUS "Looking for MuPix Telescope Readout...") MESSAGE(STATUS "Looking for MuPix Telescope Readout...")
FIND_PATH(MUPIX8DAQ_INCLUDE_DIR NAMES "library/telescope_frame.hpp" "library/blockfile.hpp" PATHS "$ENV{MUPIX8DAQ}") FIND_PATH(MUPIX8DAQ_INCLUDE_DIR NAMES "telescope_frame.hpp" "*.hpp" "*.h" PATHS "$ENV{MUPIX8DAQ}/include/")
MESSAGE(STATUS "telescope_frame.hpp => ${MUPIX8DAQ_INCLUDE_DIR}") MESSAGE(STATUS "telescope_frame.hpp => ${MUPIX8DAQ_INCLUDE_DIR}")
IF(MUPIX8DAQ_INCLUDE_DIR) IF(MUPIX8DAQ_INCLUDE_DIR)
SET(MUPIX8DAQ_INC_FOUND TRUE) SET(MUPIX8DAQ_INC_FOUND TRUE)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment