1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-08-01 11:26:53 +03:00

cmake: simplify showing CMake version

Move it to `CMakeLists.txt`. Drop `cmake --version` commands.

Credit to the `zlib-ng` project for the idea:
61e181c8ae/CMakeLists.txt (L7)

Closes #1203
This commit is contained in:
Viktor Szakats
2023-10-07 15:32:39 +00:00
parent 5e19044282
commit fc00bdd7f1
5 changed files with 2 additions and 10 deletions

View File

@ -8,8 +8,6 @@ set -u
cd "$(dirname "$0")"
cmake --version
rm -rf bld-fetchcontent; cmake -B bld-fetchcontent -DTEST_INTEGRATION_MODE=FetchContent \
-DFROM_GIT_REPO="${PWD}/../.." \
-DFROM_GIT_TAG="$(git rev-parse HEAD)"