Tidy up error message in manpage sub-project.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4057 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2014-04-21 11:49:20 +00:00
parent 90473be159
commit 8d3bb6bced

View File

@ -5,14 +5,13 @@ set (ASCIIDOC_MANS
find_program (A2X_EXECUTABLE NAMES a2x a2x.py) find_program (A2X_EXECUTABLE NAMES a2x a2x.py)
if (NOT A2X_EXECUTABLE) if (NOT A2X_EXECUTABLE)
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
message (SEND_ERROR " message (SEND_ERROR "Failed to find a2x which is an optional requirement for non-debug
Failed to find a2x which is an optional requirement for non-debug
builds on *nix platforms. builds on *nix platforms.
You can choose to skip manpage generation and this error by setting You can choose to skip manpage generation and this error by setting
the CMake option WSJT_SKIP_MANPAGES to ON. This option is designed for the CMake option WSJT_SKIP_MANPAGES to ON. This option is designed for
those that are building for their own use, packages should not opt to those that are building for their own use, package builders should not
skip manpage generation since package building requires the opt to skip manpage generation since package building requires the
manpages.") manpages.")
else (NOT CMAKE_BUILD_TYPE STREQUAL "Debug") else (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")