Merge pull request #2590 from endrift/fix-freebsd-build

Fix FreeBSD
This commit is contained in:
Matthew Parlane
2015-06-14 15:18:26 +10:00
12 changed files with 37 additions and 10 deletions

View File

@ -64,7 +64,11 @@ if(USE_X11)
set(NOGUI_SRCS ${NOGUI_SRCS} X11Utils.cpp)
endif()
set(WXLIBS ${wxWidgets_LIBRARIES} dl)
set(WXLIBS ${wxWidgets_LIBRARIES})
if(NOT CMAKE_SYSTEM_NAME MATCHES FreeBSD)
set(WXLIBS ${WXLIBS} dl)
endif()
list(APPEND LIBS core uicommon)