From ca2a432409dc2b98df5c4ef526eacfdfd38aa7ce Mon Sep 17 00:00:00 2001 From: Dan Stowell Date: Fri, 7 Sep 2012 12:11:25 +0100 Subject: [PATCH] Improve error messages when cmake can't find optional things --- el/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/el/CMakeLists.txt b/el/CMakeLists.txt index a09b929..dbc0a5f 100644 --- a/el/CMakeLists.txt +++ b/el/CMakeLists.txt @@ -18,7 +18,7 @@ set(all_scel_sources ${scel_sources} sclang-vars.el) if (SC_EL_BYTECOMPILE) find_program(EMACS_EXECUTABLE emacs) if(NOT EMACS_EXECUTABLE) - message(SEND_ERROR "Emacs could not be found") + message(SEND_ERROR "Emacs could not be found.\n (If emacs interface is not required, then set SC_EL=no)") endif() foreach (el ${all_scel_sources})