Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Improve error messages when cmake can't find optional things

  • Loading branch information...
commit faf3e50b4b63808ec4c737d546a6d855ac9f2ca1 1 parent 92e7323
@danstowell danstowell authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  editors/scel/el/CMakeLists.txt
  2. +1 −1  lang/CMakeLists.txt
View
2  editors/scel/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})
View
2  lang/CMakeLists.txt
@@ -164,7 +164,7 @@ if (SC_WII OR APPLE)
include_directories(${CWIID_INCLUDE_DIRS} ${BLUETOOTH_INCLUDE_DIRS})
message(STATUS "Compiling with WiiMote support")
else()
- message(SEND_ERROR "Cannot find libcwiid or libbluetooth")
+ message(SEND_ERROR "Cannot find libcwiid or libbluetooth.\n (If Wii support is not required, then set SC_WII=no)")
endif()
elseif(APPLE)
add_definitions(-DHAVE_WII)
Please sign in to comment.
Something went wrong with that request. Please try again.