mirror of https://github.com/CGAL/cgal
Fix commentary and missing --git-dir
This commit is contained in:
parent
3222ff8572
commit
39ff5772ba
|
|
@ -116,7 +116,7 @@ file(READ "${release_dir}/include/CGAL/version.h" file_content)
|
||||||
# update CGAL_GIT_HASH
|
# update CGAL_GIT_HASH
|
||||||
if(EXISTS ${GIT_REPO}/.git)
|
if(EXISTS ${GIT_REPO}/.git)
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND git rev-parse HEAD
|
COMMAND git --git-dir=${GIT_REPO}/.git rev-parse HEAD
|
||||||
RESULT_VARIABLE RESULT_VAR
|
RESULT_VARIABLE RESULT_VAR
|
||||||
OUTPUT_VARIABLE OUT_VAR
|
OUTPUT_VARIABLE OUT_VAR
|
||||||
)
|
)
|
||||||
|
|
@ -217,7 +217,7 @@ if (TESTSUITE)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
file(REMOVE_RECURSE "${release_dir}/tmp")
|
file(REMOVE_RECURSE "${release_dir}/tmp")
|
||||||
endif() //TESTSUITE
|
endif() #TESTSUITE
|
||||||
|
|
||||||
# removal of extra directories and files
|
# removal of extra directories and files
|
||||||
file(REMOVE_RECURSE ${release_dir}/benchmark)
|
file(REMOVE_RECURSE ${release_dir}/benchmark)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue