<div dir="ltr">The following code is line 191-201, I have tested without this being set on OSX 10.11 using system clang and both self-built and brew installed wxwidgets with no problems, Whether its still an issue using gcc on osx or some other configuration i am unsure, but is it worth being more specific than just If APPLE for this bug-fix/workaround<br><div class="gmail_quote"><div dir="ltr"><div><br></div><br># Using SYSTEM with INCLUDE_DIRECTORIES in conjunction with wxWidgets on<br># the Mac produces compiler errors. Set wxWidgets_INCLUDE_DIRS_NO_SYSTEM<br># to prevent UsewxWidgets.cmake from using SYSTEM.<br>#<br># See cmake mailing list discussions for more info:<br># <a href="https://cmake.org/pipermail/cmake/2008-April/021115.html" target="_blank">https://cmake.org/pipermail/cmake/2008-April/021115.html</a><br># <a href="https://cmake.org/pipermail/cmake/2008-April/021146.html" target="_blank">https://cmake.org/pipermail/cmake/2008-April/021146.html</a><br>#<br>if(APPLE OR CMAKE_CXX_PLATFORM_ID MATCHES "OpenBSD")<br>set(wxWidgets_INCLUDE_DIRS_NO_SYSTEM 1)<br>endif()<br><div><br></div><div><br></div><div>thanks</div><br>Simon</div>
</div><br></div>