-
Type:
Bug
-
Resolution: resolved
-
Priority:
Minor
-
Component/s: SW
-
None
The rogue tag check fails for building rogue as external package:
The tag check should define the git directory within rogue source tree otherwise the wrong source tree is picked up in cmake external package compilations
execute_process (
- COMMAND ${GIT_EXECUTABLE} describe --tags --dirty
+ COMMAND ${GIT_EXECUTABLE} --git-dir=${CMAKE_SOURCE_DIR}/.git describe --tags --dirty
OUTPUT_VARIABLE ROGUE_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE)