CMake: Fix GTK3 Win32 build

Add 'BEFORE' to target_include_directories so we include the headers
of the buildin third-party libraries before headers of third-party
libraries included in wxTOOLKIT_INCLUDE_DIRS.
This commit is contained in:
Maarten Bent
2018-03-23 21:58:39 +01:00
parent 3ae0ca9d0e
commit e2ddc3e863
4 changed files with 14 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ wx_append_sources(AUI_FILES AUI_CMN)
if(WXMSW)
wx_append_sources(AUI_FILES AUI_MSW)
elseif(WXGTK)
elseif(WXGTK2)
wx_append_sources(AUI_FILES AUI_GTK)
endif()