Skip to content

Commit 04d4cc0

Browse files
committed
cmake: Add DESCRIPTION and HOMEPAGE_URL options to project command
`DESCRIPTION` is available in CMake 3.9+. `HOMEPAGE_URL` is available in CMake 3.12+.
1 parent 8a8b653 commit 04d4cc0

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

CMakeLists.txt

+9-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ if(CMAKE_VERSION VERSION_GREATER 3.14)
77
cmake_policy(SET CMP0092 NEW)
88
endif()
99

10-
# The package (a.k.a. release) version is based on semantic versioning 2.0.0 of
11-
# the API. All changes in experimental modules are treated as
12-
# backwards-compatible and therefore at most increase the minor version.
13-
project(libsecp256k1 VERSION 0.3.2 LANGUAGES C)
10+
project(libsecp256k1
11+
# The package (a.k.a. release) version is based on semantic versioning 2.0.0 of
12+
# the API. All changes in experimental modules are treated as
13+
# backwards-compatible and therefore at most increase the minor version.
14+
VERSION 0.3.2
15+
DESCRIPTION "Optimized C library for ECDSA signatures and secret/public key operations on curve secp256k1."
16+
HOMEPAGE_URL "https://github.com/bitcoin-core/secp256k1"
17+
LANGUAGES C
18+
)
1419

1520
# The library version is based on libtool versioning of the ABI. The set of
1621
# rules for updating the version can be found here:

0 commit comments

Comments
 (0)