Fix title bar

This commit is contained in:
James Rowe 2020-01-15 23:52:41 -07:00
parent cf4125a6a5
commit 43c9695bf9
2 changed files with 16 additions and 6 deletions

View file

@ -12,11 +12,16 @@ if (DEFINED ENV{CI})
set(BUILD_TAG $ENV{APPVEYOR_REPO_TAG_NAME})
endif()
endif()
# Pass the path to git to the GenerateSCMRev.cmake as well
find_package(Git QUIET)
add_custom_command(OUTPUT scm_rev.cpp
COMMAND ${CMAKE_COMMAND}
-DSRC_DIR="${CMAKE_SOURCE_DIR}"
-DBUILD_REPOSITORY="${BUILD_REPOSITORY}"
-DBUILD_TAG="${BUILD_TAG}"
-DGIT_EXECUTABLE="${GIT_EXECUTABLE}"
-P "${CMAKE_SOURCE_DIR}/CMakeModules/GenerateSCMRev.cmake"
DEPENDS
# WARNING! It was too much work to try and make a common location for this list,