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:
NikitaFeodonit 2019-05-03 20:50:57 +03:00 committed by Vadim Zeitlin
parent 04689e9727
commit 910aaa3961

View File

@ -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)