Fix finding ChangeLog when building
Keep the first optional argument of get_version.sh as "--strict" and make the second the PROJECT_SOURCE_DIR plus trailing slash from CMakeLists.txt
This commit is contained in:
@@ -14,7 +14,7 @@ else
|
||||
fi
|
||||
|
||||
# Get version (and check that the repository is clean)
|
||||
VERSION=$(../get_version.sh --strict)
|
||||
VERSION=$(../get_version.sh --strict ../)
|
||||
if [ ! $? -eq 0 ]
|
||||
then
|
||||
echo >&2 "Error: get_version.sh failed!"
|
||||
|
||||
Reference in New Issue
Block a user