From 9aa5bec4f3fe0424768e910027ba4d660698499d Mon Sep 17 00:00:00 2001 From: Martin Hierholzer <martin.hierholzer@desy.de> Date: Mon, 12 Jul 2021 17:47:55 +0200 Subject: [PATCH] project-template: FindDOOCS now links clientlib first This is a work around for not finding libtinemt at runtime. The DOOCS serverlib is lacking the RPATH, hence its dependencies are not found. If clientlib is linked first, tine is already linked. --- cmake/Modules/FindDOOCS.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/Modules/FindDOOCS.cmake b/cmake/Modules/FindDOOCS.cmake index b2da028..927e20f 100644 --- a/cmake/Modules/FindDOOCS.cmake +++ b/cmake/Modules/FindDOOCS.cmake @@ -32,7 +32,7 @@ SET(DOOCS_FOUND 0) -list(APPEND DOOCS_FIND_COMPONENTS doocsapi) +list(PREPEND DOOCS_FIND_COMPONENTS doocsapi) if (";${DOOCS_FIND_COMPONENTS};" MATCHES ";zmq;") list(APPEND DOOCS_FIND_COMPONENTS doocsdzmq) -- GitLab