From db27b8a8bebc2a10f1e8b0b895bfb60a30d24910 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 21 Aug 2018 12:19:41 +0200 Subject: [PATCH] cmake: link against DL --- common/lib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/CMakeLists.txt b/common/lib/CMakeLists.txt index 2d404e6c5..14448b356 100644 --- a/common/lib/CMakeLists.txt +++ b/common/lib/CMakeLists.txt @@ -35,5 +35,5 @@ target_include_directories(villas-common PUBLIC target_link_libraries(villas-common PUBLIC ${JANSSON_LIBRARIES} - -ldl + ${CMAKE_DL_LIBS} )