diff --git a/CMakeLists.txt b/CMakeLists.txt index eac5fa5068..1cef80fdb2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -508,7 +508,7 @@ set( wxWidgets_CONFIG_OPTIONS --static=no ) if( APPLE AND ( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES OR KICAD_SCRIPTING_WXPYTHON) ) find_package( wxWidgets COMPONENTS gl adv html core net base xml QUIET ) else() - find_package( wxWidgets COMPONENTS gl adv html core net base xml QUIET ) + find_package( wxWidgets COMPONENTS gl aui adv html core net base xml QUIET ) endif() if( NOT (KICAD_BUILD_STATIC OR KICAD_BUILD_DYNAMIC) )