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:
@@ -25,8 +25,13 @@ if(WXMSW)
|
||||
wx_append_sources(CORE_SRC MSW)
|
||||
wx_append_sources(CORE_SRC MSW_DESKTOP)
|
||||
elseif(WXGTK)
|
||||
wx_append_sources(CORE_SRC GTK2_LOWLEVEL)
|
||||
wx_append_sources(CORE_SRC GTK2)
|
||||
if(WXGTK2)
|
||||
wx_append_sources(CORE_SRC GTK2_LOWLEVEL)
|
||||
wx_append_sources(CORE_SRC GTK2)
|
||||
else()
|
||||
wx_append_sources(CORE_SRC GTK_LOWLEVEL)
|
||||
wx_append_sources(CORE_SRC GTK)
|
||||
endif()
|
||||
|
||||
wx_append_sources(CORE_SRC XWIN_LOWLEVEL)
|
||||
elseif(WXOSX_COCOA)
|
||||
|
Reference in New Issue
Block a user