Fix include directories for built-in libraries in CMake build
This fixes ''wx/setup.h' file not found' error in CMake macOS build. Closes https://github.com/wxWidgets/wxWidgets/pull/1314
This commit is contained in:
parent
04689e9727
commit
910aaa3961
@ -466,6 +466,12 @@ function(wx_set_builtin_target_properties target_name)
|
||||
)
|
||||
endif()
|
||||
|
||||
target_include_directories(${target_name}
|
||||
BEFORE
|
||||
PUBLIC
|
||||
${wxSETUP_HEADER_PATH}
|
||||
)
|
||||
|
||||
set_target_properties(${target_name} PROPERTIES FOLDER "Third Party Libraries")
|
||||
|
||||
wx_set_common_target_properties(${target_name} DEFAULT_WARNINGS)
|
||||
|
Loading…
Reference in New Issue
Block a user