mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-05 20:34:05 +08:00
integrate inno installer into cmake
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user