[cmake] use appropriate configure policies where possible

This commit is contained in:
David Adam 2018-01-13 22:58:29 +08:00
parent 85131452fa
commit 088fc6003b

View file

@ -1,4 +1,12 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.2) 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) PROJECT(fish-shell CXX)
# We are C++11. # We are C++11.