From 73c34579602cbf8636897f2696ab8c75e9c43fe7 Mon Sep 17 00:00:00 2001 From: pthom Date: Sun, 8 Dec 2019 18:57:31 +0100 Subject: [PATCH] CMakeLists.txt: add hint when libxi-dev is missing This is just a helper message when "X11_Xi_INCLUDE_PATH" is not found, because googling does not help very much to spot the missing package. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c7ac8192..64d03656b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -227,7 +227,7 @@ if (_GLFW_X11) # Check for XInput (modern HID input) if (NOT X11_Xi_INCLUDE_PATH) - message(FATAL_ERROR "The XInput headers were not found") + message(FATAL_ERROR "The XInput headers were not found (hint: install libxi-dev)") endif() list(APPEND glfw_INCLUDE_DIRS "${X11_Xrandr_INCLUDE_PATH}"