diff --git a/CMakeLists.txt b/CMakeLists.txt index c63757bc8..ebedc18bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)