cmake: minimum required cmake version should be first line in file

See note in https://cmake.org/cmake/help/v3.8/command/project.html
This commit is contained in:
David Adam 2017-11-07 08:45:52 +08:00
parent 396faebc08
commit de9f034318

View File

@ -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)