Skip to content

Commit

Permalink
Merge pull request tensor-compiler#353 from Infinoid/cmake-policy-0054
Browse files Browse the repository at this point in the history
Silence a warning about cmake policy CMP0054.
  • Loading branch information
stephenchouca authored Jan 13, 2021
2 parents ce5baba + da133ba commit f051a8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
if(POLICY CMP0054)
cmake_policy(SET CMP0054 NEW)
endif()
project(taco)
option(CUDA "Build for NVIDIA GPU (CUDA must be preinstalled)" OFF)
option(PYTHON "Build TACO for python environment" OFF)
Expand Down

0 comments on commit f051a8f

Please sign in to comment.