diff --git a/_custom_build/backend.py b/_custom_build/backend.py index 83bb234..125845a 100644 --- a/_custom_build/backend.py +++ b/_custom_build/backend.py @@ -16,7 +16,7 @@ def _cmake_required(): try: - if _version.parse(_get_cmake_version()) >= _version.parse("3.12"): + if _version.parse(_get_cmake_version().split("-")[0]) >= _version.parse("3.12"): print("Using System version of cmake") return False except _SKBuildError: