diff options
author | Andreas Rogge <andreas.rogge@bareos.com> | 2022-10-19 10:37:27 +0300 |
---|---|---|
committer | Andreas Rogge <andreas.rogge@bareos.com> | 2022-11-09 18:15:50 +0300 |
commit | c24d6f73a2951cd67120ca40a73578d813936627 (patch) | |
tree | 2aa324ad8bbc5f3c3be644f468b639fc1862d23a /contrib | |
parent | 4f18cc6f46c4bf5172c45490fa752b20329d414b (diff) |
cmake: bump minimum required version to 3.17
also set cmake_policy version to 3.17...3.19 enabling all policies
present in CMake up until 3.19.
CMake 3.19 contains the newest policy we require (CMP0109) which makes
find_program() only check for executability but not readability which
allows to find sudo.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/CMakeLists.txt b/contrib/CMakeLists.txt index e0086aa4c..45a8ee57d 100644 --- a/contrib/CMakeLists.txt +++ b/contrib/CMakeLists.txt @@ -17,7 +17,6 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. message("Entering ${CMAKE_CURRENT_SOURCE_DIR}") -cmake_minimum_required(VERSION 3.0) project(bareos-contrib) set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${PROJECT_SOURCE_DIR}/cmake) |