mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-05 08:33:53 +01:00
Fix GIT revision when build directory is outside source tree
This commit is contained in:
@@ -22,9 +22,10 @@ if( GIT_FOUND )
|
||||
version
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -D GIT=${GIT_EXECUTABLE}
|
||||
-D _PRVDIR=${_PRVDIR}
|
||||
-P ${CMAKE_MODULE_PATH}/Version.cmake
|
||||
WORKING_DIRECTORY
|
||||
${_PRVDIR}
|
||||
${topdir}
|
||||
)
|
||||
add_dependencies( ${TARGET} version )
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user