From 7324683ba229fee0e91ffd4edcc47d727f01c71e Mon Sep 17 00:00:00 2001 From: Neel Chauhan Date: Wed, 10 Aug 2016 20:37:42 -0400 Subject: [PATCH] Fix "cannot find -ldl" linking error with FreeBSD --- unix/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unix/CMakeLists.txt b/unix/CMakeLists.txt index 33eedfac..56d653ad 100644 --- a/unix/CMakeLists.txt +++ b/unix/CMakeLists.txt @@ -78,5 +78,5 @@ set(_LIBUI_CFLAGS PARENT_SCOPE) set(_LIBUI_LIBS - ${GTK_LDFLAGS} m dl + ${GTK_LDFLAGS} m ${CMAKE_DL_LIBS} PARENT_SCOPE)