Improve error messages when cmake can't find optional things
This commit is contained in:
parent
494cf1fe11
commit
ca2a432409
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ set(all_scel_sources ${scel_sources} sclang-vars.el)
|
||||||
if (SC_EL_BYTECOMPILE)
|
if (SC_EL_BYTECOMPILE)
|
||||||
find_program(EMACS_EXECUTABLE emacs)
|
find_program(EMACS_EXECUTABLE emacs)
|
||||||
if(NOT EMACS_EXECUTABLE)
|
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()
|
endif()
|
||||||
|
|
||||||
foreach (el ${all_scel_sources})
|
foreach (el ${all_scel_sources})
|
||||||
|
|
Loading…
Reference in a new issue