mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Improve error messages
This commit is contained in:
parent
e1b3c9ef06
commit
3f8b97bb2e
@ -134,7 +134,7 @@ else()
|
||||
if (BASH)
|
||||
set(SHELL ${BASH})
|
||||
else()
|
||||
message(SEND_ERROR "Can't find a suitable bash executable. Please set GNC_SHELL.")
|
||||
message(SEND_ERROR "Can't find a suitable bash executable. Please install bash or set GNC_SHELL.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
@ -152,7 +152,7 @@ if (GNC_VCS_INFO_RESULT EQUAL 0)
|
||||
# if building from VCS, we need git
|
||||
find_package(Git)
|
||||
if (NOT GIT_FOUND)
|
||||
message(SEND_ERROR "Looks like we're building from version control, but can't find git executable. Please set GIT_EXECUTABLE.")
|
||||
message(SEND_ERROR "Looks like we're building from version control, but can't find git executable. Please install git or set GIT_EXECUTABLE.")
|
||||
endif()
|
||||
set(VCS_INFO_BASE_DIR ${CMAKE_BINARY_DIR})
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user