Revert "Use 3.27 as the minimum CMake version (#153153)"

This reverts commit ad26ec6abe51d528124bc5fbbacaa87aef077ab8.

Reverted https://github.com/pytorch/pytorch/pull/153153 on behalf of https://github.com/cyyever due to It still breaks windows debug builds ([comment](https://github.com/pytorch/pytorch/pull/153153#issuecomment-2923997777))
This commit is contained in:
PyTorch MergeBot
2025-05-31 02:14:24 +00:00
parent 43390d8b13
commit bd10ea4e6c
14 changed files with 27 additions and 65 deletions

View File

@ -1,5 +1,5 @@
project(libshm C CXX)
cmake_minimum_required(VERSION 3.27 FATAL_ERROR)
cmake_minimum_required(VERSION 3.18 FATAL_ERROR)
set(TORCH_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../../)