diff options
-rw-r--r-- | CMake/Version.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/Version.cmake b/CMake/Version.cmake index 3522ec6a..db6613b8 100644 --- a/CMake/Version.cmake +++ b/CMake/Version.cmake @@ -1,7 +1,7 @@ find_program(GIT git) execute_process( COMMAND ${GIT} describe - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} OUTPUT_VARIABLE GIT_DESCRIBE_DIRTY OUTPUT_STRIP_TRAILING_WHITESPACE ) |