From 336fe7433a361053304625dcedc297225e74be49 Mon Sep 17 00:00:00 2001 From: Martin Killenberg <martin.killenberg@desy.de> Date: Fri, 13 Mar 2020 16:12:07 +0100 Subject: [PATCH] added eqdaqdatalib as component to FindDoocs --- cmake/Modules/FindDOOCS.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmake/Modules/FindDOOCS.cmake b/cmake/Modules/FindDOOCS.cmake index 964b70e..d957b9a 100644 --- a/cmake/Modules/FindDOOCS.cmake +++ b/cmake/Modules/FindDOOCS.cmake @@ -77,6 +77,14 @@ if (";${DOOCS_FIND_COMPONENTS};" MATCHES ";daqreader;") set(COMPONENT_DIRS ${COMPONENT_DIRS} DOOCS_DIR_daqreader) endif() +if (";${DOOCS_FIND_COMPONENTS};" MATCHES ";eqdaqdatalib;") + FIND_PATH(DOOCS_DIR_eqdaqdatalib libDAQsvrutil.so + ${DOOCS_DIR} + ) + set(DOOCS_LIBRARIES ${DOOCS_LIBRARIES} DAQsvrutil) + set(COMPONENT_DIRS ${COMPONENT_DIRS} DOOCS_DIR_eqdaqdatalib) +endif() + #This is for the transition only. The logic is not bullet proof, but in almost all cases #if there is libgul14.so, it means DOOCS brought it and needs it. FIND_LIBRARY(LIB_GULOLD libgul.so ${DOOCS_DIR}) -- GitLab