From de9f03431873ad0f1a0002e12423be530219c0f6 Mon Sep 17 00:00:00 2001 From: David Adam Date: Tue, 7 Nov 2017 08:45:52 +0800 Subject: [PATCH] cmake: minimum required cmake version should be first line in file See note in https://cmake.org/cmake/help/v3.8/command/project.html --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a389f0327..ea94336c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ -PROJECT(fish-shell) CMAKE_MINIMUM_REQUIRED(VERSION 3.1) +PROJECT(fish-shell) # We are C++11. SET(CMAKE_CXX_STANDARD 11)