Skip to content

Commit ee72a20

Browse files
authored
Merge pull request #10481 from gilles-peskine-arm/cmake-package-version-mbedtls
Fix duplication of product version in CMakeLists.txt
2 parents 525dd91 + 574aae2 commit ee72a20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ if(NOT DISABLE_PACKAGE_CONFIG_AND_INSTALL)
522522
write_basic_package_version_file(
523523
"cmake/MbedTLSConfigVersion.cmake"
524524
COMPATIBILITY SameMajorVersion
525-
VERSION 4.0.0)
525+
VERSION "${MBEDTLS_VERSION}")
526526

527527
install(
528528
FILES "${CMAKE_CURRENT_BINARY_DIR}/cmake/MbedTLSConfig.cmake"

0 commit comments

Comments
 (0)