Make find_program(BASH) REQUIRED to prevent build-time errors
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
This commit is contained in:
parent
9f0bf65f5f
commit
f7850f1414
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ elseif(${PLATFORM_ANDROID})
|
|||
)
|
||||
else() # neither iPhone nor Android
|
||||
# Find bash first, on Windows it can be either in Git or in WSL
|
||||
find_program(BASH bash)
|
||||
find_program(BASH bash REQUIRED)
|
||||
# Generate version header file.
|
||||
execute_process(COMMAND "${BASH}" tools/unix/version.sh qt_version
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
|
|
Reference in a new issue