build: Handle weird version of CMake shipped with MSVC

This commit is contained in:
Ivey
2025-01-23 10:34:45 +01:00
committed by Gabriel Ferreira
parent cb9259803d
commit 7a6f433bbc

1
ns3
View File

@@ -1085,6 +1085,7 @@ def get_program_shortcuts(build_profile, ns3_version):
def parse_version(version_str):
version_str = version_str.split("-")[0]
version = version_str.split(".")
version = tuple(map(int, version))
return version