From da133baaa29c450bb92955121817fe81535c3f97 Mon Sep 17 00:00:00 2001 From: Mark Glines Date: Mon, 4 Jan 2021 08:29:22 -0500 Subject: [PATCH] Silence a warning about cmake policy CMP0054. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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)