parent
281f4a81e1
commit
fee3f26c31
|
@ -18,6 +18,8 @@ include_directories(
|
||||||
|
|
||||||
set(EXTRA_LIBS ${LIBEV_LIBRARY} m)
|
set(EXTRA_LIBS ${LIBEV_LIBRARY} m)
|
||||||
|
|
||||||
|
include(CheckLibraryExists)
|
||||||
|
|
||||||
check_library_exists(dl dlopen "" HAVE_DLOPEN)
|
check_library_exists(dl dlopen "" HAVE_DLOPEN)
|
||||||
if(HAVE_DLOPEN)
|
if(HAVE_DLOPEN)
|
||||||
list(APPEND EXTRA_LIBS dl)
|
list(APPEND EXTRA_LIBS dl)
|
||||||
|
|
Loading…
Reference in New Issue