From 088fc6003b7940a09fe5bda688a86eefbc730484 Mon Sep 17 00:00:00 2001 From: David Adam Date: Sat, 13 Jan 2018 22:58:29 +0800 Subject: [PATCH] [cmake] use appropriate configure policies where possible --- CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 83e40363c..251ce2e87 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,12 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.2) + +IF(POLICY CMP0066) + CMAKE_POLICY(SET CMP0066 OLD) +ENDIF() +IF(POLICY CMP0067) + CMAKE_POLICY(SET CMP0067 OLD) +ENDIF() + PROJECT(fish-shell CXX) # We are C++11.