Add libdl to FLTK_LIBRARIES when the system supports it. Required for libfltk1.3.
This commit is contained in:
parent
bfc7cac7c2
commit
8c02a57ff8
1 changed files with 4 additions and 0 deletions
|
@ -213,6 +213,10 @@ if(ENABLE_FGADMIN)
|
|||
list(APPEND FLTK_LIBRARIES ${X11_Xft_LIB})
|
||||
endif()
|
||||
|
||||
if ( CMAKE_DL_LIBS )
|
||||
list(APPEND FLTK_LIBRARIES ${CMAKE_DL_LIBS})
|
||||
endif()
|
||||
|
||||
message(STATUS "Using FLTK_LIBRARIES for fgadmin: ${FLTK_LIBRARIES}")
|
||||
endif ( FLTK_FOUND )
|
||||
endif(ENABLE_FGADMIN)
|
||||
|
|
Loading…
Reference in a new issue