diff --git a/CMakeLists.txt b/CMakeLists.txt index 3d0f17eb9..e27ef4793 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ ## -*- mode: CMake -*- ## -## Copyright (c) 2017 The University of Utah +## Copyright (c) 2017, 2019 The University of Utah ## All rights reserved. ## ## This file is part of `csmith', a random generator of C programs. @@ -29,7 +29,7 @@ ############################################################################### -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.1) list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 36e65f46a..f21485425 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,6 +1,6 @@ ## -*- mode: CMake -*- ## -## Copyright (c) 2017 The University of Utah +## Copyright (c) 2017, 2019 The University of Utah ## All rights reserved. ## ## This file is part of `csmith', a random generator of C programs. @@ -29,7 +29,7 @@ ############################################################################### -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.1) project(csmith_doc) set(DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/csmith") diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index 8e050b0f8..74afe7e7c 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -1,6 +1,6 @@ ## -*- mode: CMake -*- ## -## Copyright (c) 2017 The University of Utah +## Copyright (c) 2017, 2019 The University of Utah ## All rights reserved. ## ## This file is part of `csmith', a random generator of C programs. @@ -29,7 +29,7 @@ ############################################################################### -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.1) project(csmith_runtime) # CMP0042 was introduced in CMake 3.0. Don't error in older CMakes. diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index 6a40a0a4b..a5007f2eb 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -1,6 +1,6 @@ ## -*- mode: CMake -*- ## -## Copyright (c) 2017 The University of Utah +## Copyright (c) 2017, 2019 The University of Utah ## All rights reserved. ## ## This file is part of `csmith', a random generator of C programs. @@ -29,7 +29,7 @@ ############################################################################### -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.1) project(csmith_scripts) set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 01745380a..a35d3a399 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -29,7 +29,7 @@ ############################################################################### -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.1) project(csmith_src) set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin")