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:
@@ -378,7 +378,7 @@ macro(wx_lib_include_directories name)
|
||||
list(APPEND wxMONO_INCLUDE_DIRS_PUBLIC ${_LIB_INCLUDE_DIRS_PUBLIC})
|
||||
list(APPEND wxMONO_INCLUDE_DIRS_PRIVATE ${_LIB_INCLUDE_DIRS_PRIVATE})
|
||||
else()
|
||||
target_include_directories(${name};${ARGN})
|
||||
target_include_directories(${name};BEFORE;${ARGN})
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
|
Reference in New Issue
Block a user