remove unused code. (#153979)

Remove the unused cmake code.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/153979
Approved by: https://github.com/albanD
This commit is contained in:
Xu Han
2025-05-22 17:50:11 +00:00
committed by PyTorch MergeBot
parent fc859077a0
commit 7421c21b5e

View File

@ -353,8 +353,6 @@ function(torch_compile_options libname)
set(MSVC_DEBINFO_OPTION "/Zi")
endif()
set(MSVC_APPEND_OPTION)
if(${MSVC_TOOLSET_VERSION} GREATER_EQUAL 142)
# Add /permissive- flag for conformance mode to the compiler.
# This will force more strict check to the code standard.