Fix FreeBSD build

This commit is contained in:
Jeffrey Pfau
2015-06-10 22:15:11 -07:00
parent 0ca955a14c
commit 7085fcc8d6
9 changed files with 28 additions and 9 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)