Fix FreeBSD build

This commit is contained in:
Jeffrey Pfau
2015-07-11 23:09:11 -07:00
parent cc79334faf
commit 2eb553fdb7
9 changed files with 28 additions and 9 deletions
+5 -1
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)