From 193ff10898f16e7811a1a66394aecd80fffff10b Mon Sep 17 00:00:00 2001
From: Martin Killenberg <martin.killenberg@desy.de>
Date: Mon, 19 Feb 2018 12:55:22 +0100
Subject: [PATCH] added ddaq as component to FindDOOCS.cmake

---
 cmake/Modules/FindDOOCS.cmake | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/cmake/Modules/FindDOOCS.cmake b/cmake/Modules/FindDOOCS.cmake
index 4e0e527..deb0e51 100644
--- a/cmake/Modules/FindDOOCS.cmake
+++ b/cmake/Modules/FindDOOCS.cmake
@@ -58,6 +58,13 @@ if (";${DOOCS_FIND_COMPONENTS};" MATCHES ";server;")
   set(DOOCS_LIBRARIES ${DOOCS_LIBRARIES} EqServer)
 endif()
 
+if (";${DOOCS_FIND_COMPONENTS};" MATCHES ";ddaq;")
+  FIND_PATH(DOOCS_DIR_SERVER libDOOCSddaq.so
+    ${DOOCS_DIR}
+  )
+  set(DOOCS_LIBRARIES ${DOOCS_LIBRARIES} DOOCSddaq timinginfo daqevstat DAQFSM TTF2XML xerces-c BM TTF2evutl)
+endif()
+
 set(DOOCS_LIBRARIES ${DOOCS_LIBRARIES} DOOCSapi nsl dl pthread m rt ldap)
 
 # now set the required variables based on the determined DOOCS_DIR
-- 
GitLab