Skip to content

Commit f051a8f

Browse files
Merge pull request #353 from Infinoid/cmake-policy-0054
Silence a warning about cmake policy CMP0054.
2 parents ce5baba + da133ba commit f051a8f

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)