Fix cases where function dlysym() is not in library libdl.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
8232cac84f
commit
dc2fd2befc
@ -110,6 +110,9 @@ if(LIB_dl)
|
||||
set(CMAKE_REQUIRED_LIBRARIES ${LIB_dl})
|
||||
CHECK_FUNCTION_EXISTS(dlsym HAVE_DLSYM)
|
||||
set(CMAKE_REQUIRED_LIBRARIES)
|
||||
else()
|
||||
# test also for systems where dlsym() is not in libdl (e.g., NetBSD, FreeBSD)
|
||||
CHECK_FUNCTION_EXISTS(dlsym HAVE_DLSYM)
|
||||
endif(LIB_dl)
|
||||
|
||||
CHECK_FUNCTION_EXISTS(localeconv HAVE_LOCALECONV)
|
||||
|
Loading…
Reference in New Issue
Block a user