From 652f9cf2a5a0b251b27d77ff136ad7e3b1919fbd 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} )