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)