Skip to content

Commit

Permalink
Improve error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed Jun 4, 2024
1 parent ee98dca commit 1b7f1e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand All @@ -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()
Expand Down

0 comments on commit 1b7f1e2

Please sign in to comment.