mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 13:01:56 +00:00
Merge branch 'cmake-git-set' into 'master'
cmake: Set GIT_EXECUTABLE before add_subdirectory(src) See merge request KartKrew/Kart!1706
This commit is contained in:
commit
7744a2823e
1 changed files with 2 additions and 2 deletions
|
|
@ -144,13 +144,13 @@ set(CMAKE_PDB_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
||||||
set(SRB2_SDL2_EXE_NAME "" CACHE STRING "Override executable binary output name")
|
set(SRB2_SDL2_EXE_NAME "" CACHE STRING "Override executable binary output name")
|
||||||
set(SRB2_SDL2_EXE_SUFFIX "" CACHE STRING "Optional executable suffix, separated by an underscore")
|
set(SRB2_SDL2_EXE_SUFFIX "" CACHE STRING "Optional executable suffix, separated by an underscore")
|
||||||
|
|
||||||
|
set(GIT_EXECUTABLE "git" CACHE FILEPATH "Path to git binary")
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}/src)
|
||||||
|
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
add_subdirectory(assets)
|
add_subdirectory(assets)
|
||||||
|
|
||||||
|
|
||||||
set(GIT_EXECUTABLE "git" CACHE FILEPATH "Path to git binary")
|
|
||||||
include(GitUtilities)
|
include(GitUtilities)
|
||||||
|
|
||||||
if("${SRB2_SDL2_EXE_NAME}" STREQUAL "")
|
if("${SRB2_SDL2_EXE_NAME}" STREQUAL "")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue