From 7b2177b10ffff15c881c8f6fb68a6be740a20a34 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Sun, 19 Jun 2016 18:20:15 +0200 Subject: [PATCH] fix for linking error in lib --- template.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/template.cmake b/template.cmake index eaade98..8fd3024 100644 --- a/template.cmake +++ b/template.cmake @@ -376,6 +376,7 @@ include_directories( if(LIB_SRC_LIST) target_link_libraries( ${LIBRARY_NAME} + -ldl ${LIB_DEPENDENCIES_LIST} ) if(EXEC_SRC_LIST)