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:
@ -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)"
|
||||
|
Reference in New Issue
Block a user