make_policy(SET CMP0104 OLD) (#8793)

This commit is contained in:
George Wu 2021-09-07 13:12:50 -07:00 committed by GitHub
parent b7971575f8
commit 00eca42413
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,8 @@ cmake_policy(SET CMP0091 NEW)
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.20")
cmake_policy(SET CMP0117 NEW)
endif()
# Don't let cmake set a default value for CMAKE_CUDA_ARCHITECTURES
cmake_policy(SET CMP0104 OLD)
# Project
project(onnxruntime C CXX)