fix windows is using cmd over bash for some reason

This commit is contained in:
ohyzha
2024-10-22 10:12:48 +03:00
parent eb9264e3da
commit 45b9737666
2 changed files with 3 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ if ("${BASH_EXECUTABLE}" STREQUAL "")
find_program(BASH_PROGRAM bash NO_CACHE REQUIRED)
set(BASH_EXECUTABLE ${BASH_PROGRAM} CACHE FILEPATH "Path to bash executable" FORCE)
endif()
message("Using bash exe ${BASH_EXECUTABLE}")
# go from openVulkano/OpenVulkanoCpp to openVulkano
cmake_path(GET CMAKE_CURRENT_SOURCE_DIR PARENT_PATH ROOT_FOLDER)
set(SCRIPT_FOLDER "${ROOT_FOLDER}/Scripts")