diff --git a/CMakeLists.txt b/CMakeLists.txt index 764657472863..87a90d341060 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -685,6 +685,8 @@ if(NOT DISABLE_WX AND NOT ANDROID) include(FindGTK2) if(GTK2_FOUND) include_directories(${GTK2_INCLUDE_DIRS}) + else() + message(FATAL_ERROR "GTK is required to build the WX UI. Please install the GTK development libraries.") endif() endif() endif()