diff --git a/CMakeLists.txt b/CMakeLists.txt index 34649a17b5100153dd34021648367d22f690e388..c609743578c924d5f4097735020e476c2668f154 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -775,7 +775,7 @@ set(CMAKE_EXTRA_INCLUDE_FILES) check_include_file(dlfcn.h DLFCN_H) if(DLFCN_H) set_config_option(HAVE_DLOPEN "Dlopen") - list(APPEND EXTERNAL_LIBRARIES ${CMAKE_DL_LIB}) + list(APPEND EXTERNAL_LIBRARIES ${CMAKE_DL_LIBS}) endif(DLFCN_H) if(UNIX)