Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The git describe command in CMakeLists.txt doesn't work when compiling out-of-source #10

Open
drebatto opened this issue Apr 13, 2016 · 0 comments
Assignees

Comments

@drebatto
Copy link
Collaborator

The git describe command in CMakeLists.txt:

execute_process(COMMAND git describe
                WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
                OUTPUT_VARIABLE GIT_TAG
                ERROR_QUIET)

works only when issued from the .git directory.
The WORKING_DIRECTORY should point to the .git directory instead of the current directory.

@drebatto drebatto self-assigned this Apr 13, 2016
timtheisen referenced this issue in htcondor/BLAH May 14, 2019
Fix condor_submit syntax error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant