1
0
Fork 0

Add libdl to FLTK_LIBRARIES when the system supports it. Required for libfltk1.3.

This commit is contained in:
hof 2013-07-14 14:49:04 -04:00 committed by James Turner
parent bfc7cac7c2
commit 8c02a57ff8

View file

@ -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)