From 8f6628699eb52699c4047f7715b26154f925817e Mon Sep 17 00:00:00 2001
From: Raphael Grimm <raphael.grimm@kit.edu>
Date: Fri, 29 May 2020 12:53:27 +0200
Subject: [PATCH] Add library to transitive dependencies of ArmarXEtherCAT

---
 source/RobotAPI/libraries/ArmarXEtherCAT/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/source/RobotAPI/libraries/ArmarXEtherCAT/CMakeLists.txt b/source/RobotAPI/libraries/ArmarXEtherCAT/CMakeLists.txt
index f653b4205..3e54ff4f9 100644
--- a/source/RobotAPI/libraries/ArmarXEtherCAT/CMakeLists.txt
+++ b/source/RobotAPI/libraries/ArmarXEtherCAT/CMakeLists.txt
@@ -35,6 +35,7 @@ armarx_add_library("${LIB_NAME}" "${LIB_FILES}" "${LIB_HEADERS}" "${LIBS}")
 
 if (SOEM_FOUND)
     target_include_directories("${LIB_NAME}" SYSTEM PUBLIC ${SOEM_INCLUDE_DIR})
+    target_link_libraries("${LIB_NAME}" PUBLIC ${SOEM_LIBRARIES})
 endif()
 # add unit tests
 add_subdirectory(test)
-- 
GitLab