Fix wxGTK/Win32 CMake build

This commit is contained in:
Kolya Kosenko
2018-02-27 23:47:27 +02:00
parent 9f77a4f674
commit d6a284783a
4 changed files with 43 additions and 5 deletions

View File

@@ -28,7 +28,11 @@ elseif(WXGTK)
wx_append_sources(CORE_SRC GTK2_LOWLEVEL)
wx_append_sources(CORE_SRC GTK2)
wx_append_sources(CORE_SRC XWIN_LOWLEVEL)
if(UNIX)
wx_append_sources(CORE_SRC XWIN_LOWLEVEL)
elseif(WIN32)
wx_append_sources(CORE_SRC GTK_WIN32)
endif()
elseif(WXOSX_COCOA)
wx_append_sources(CORE_SRC BASE_AND_GUI_OSX_COCOA)
wx_append_sources(CORE_SRC OSX_LOWLEVEL)