integrate inno installer into cmake

This commit is contained in:
walker0643
2018-03-01 10:57:13 -05:00
parent c351d450ae
commit db1e05ff08
3 changed files with 11 additions and 9 deletions

View File

@@ -39,7 +39,7 @@ endif()
if (NOT DEFINED BARRIER_REVISION)
if (DEFINED ENV{GIT_COMMIT})
string (SUBSTRING $ENV{GIT_COMMIT} 0 8 BARRIER_REVISION)
elseif (BARRIER_VERSION_STAGE STREQUAL "snapshot")
else()
execute_process (
COMMAND git rev-parse --short=8 HEAD
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}