Skip to content

Commit

Permalink
make_policy(SET CMP0104 OLD) (#8793)
Browse files Browse the repository at this point in the history
  • Loading branch information
jywu-msft authored Sep 7, 2021
1 parent b797157 commit 00eca42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 00eca42

Please sign in to comment.