mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-09 05:44:34 +00:00
CMake fixes for Windows
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
416b8ab95a
commit
4117cca562
@@ -94,7 +94,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 REQUIRED)
|
||||
find_program(BASH bash REQUIRED HINTS "$ENV{ProgramFiles}/Git/bin")
|
||||
# Generate version header file.
|
||||
execute_process(COMMAND "${BASH}" tools/unix/version.sh qt_version
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
|
||||
Reference in New Issue
Block a user