Skip to content

Commit da133ba

Browse files
committed
Silence a warning about cmake policy CMP0054.
1 parent fb2ed72 commit da133ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
2+
if(POLICY CMP0054)
3+
cmake_policy(SET CMP0054 NEW)
4+
endif()
25
project(taco)
36
option(CUDA "Build for NVIDIA GPU (CUDA must be preinstalled)" OFF)
47
option(PYTHON "Build TACO for python environment" OFF)

0 commit comments

Comments
 (0)