From 4c2309a459ad3558feb4ab30aba525a1ad64559a Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Tue, 18 Dec 2018 09:21:05 +0100 Subject: [PATCH] [Benchmarks] add missing links to libdl --- benchmark/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/benchmark/CMakeLists.txt b/benchmark/CMakeLists.txt index 6753cde6b..008aaec51 100644 --- a/benchmark/CMakeLists.txt +++ b/benchmark/CMakeLists.txt @@ -47,6 +47,7 @@ IF(CPPADCG_FOUND) ADD_BENCH(timings-cg TRUE) SET_PROPERTY(TARGET timings-cg PROPERTY CXX_STANDARD 11) PKG_CONFIG_USE_DEPENDENCY(timings-cg "cppadcg") + TARGET_LINK_LIBRARIES(timings-cg ${CMAKE_DL_LIBS}) ENDIF(CPPADCG_FOUND) # timings @@ -74,5 +75,3 @@ ADD_BENCH(timings-eigen) IF(URDFDOM_FOUND AND HPP_FCL_FOUND) ADD_BENCH(timings-geometry TRUE) ENDIF(URDFDOM_FOUND AND HPP_FCL_FOUND) - - -- GitLab