diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f1ad0fb67..a8fc1f0ae7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -781,7 +781,7 @@ if(NOT DISABLE_WX AND NOT ANDROID) message(FATAL_ERROR "wxWidgets in Externals is not compatible with your platform") endif() - include_directories( + include_directories(SYSTEM Externals/wxWidgets3 Externals/wxWidgets3/include) add_subdirectory(Externals/wxWidgets3)