add TIMEOUT 1 to git shortlog in configure script
For some reason executing git shortlog in Qt Creator cmake project import hangs. This is a workaround so that it is still possible to use Qt Creator without changing the normal build, in which git shortlog will certainly complete in 1 second.
This commit is contained in:
@@ -357,7 +357,8 @@ IF(GIT_FOUND)
|
||||
COMMAND ${GIT_EXECUTABLE} shortlog -sne
|
||||
COMMAND cut -c8-
|
||||
OUTPUT_FILE ${CONTRIBUTORS}
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
TIMEOUT 1)
|
||||
ENDIF(GIT_FOUND)
|
||||
|
||||
SET(lmms_EMBEDDED_RESOURCES ${CMAKE_SOURCE_DIR}/AUTHORS ${CMAKE_SOURCE_DIR}/COPYING ${CONTRIBUTORS})
|
||||
|
||||
Reference in New Issue
Block a user