CMake: don't globally include wxWidgets headers

This commit is contained in:
Michael Maltese committed 2017-04-25 17:18:20 -07:00
1 parent f4c0723387
commit 6e1940c404
3 files changed
+11 -7

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ set(GUI_SRCS
WxUtils.cpp
)
set(WXLIBS ${wxWidgets_LIBRARIES})
set(WXLIBS wxWidgets::wxWidgets)
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
set(WXLIBS ${WXLIBS} dl)