From 9742cd370567141eda76db64ecec4e4316f08ea3 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Tue, 27 Oct 2020 15:07:28 +0100 Subject: [BUILD] do not print verbose CMake messages in unsupported CMake versions --- CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 738ca9d..6cf891d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -33,17 +33,6 @@ find_package(Threads REQUIRED) find_package(Fuse REQUIRED) find_package(Jansson REQUIRED) -# abort if a required package is not available -if(NOT GIT_FOUND) - message(FATAL_ERROR "No Git found, can't determine dnbd3 project version number!") -endif(NOT GIT_FOUND) -if(NOT THREADS_FOUND) - message(FATAL_ERROR "No threads found, can't build dnbd3 project!") -endif(NOT THREADS_FOUND) -if(NOT FUSE_FOUND) - message(FATAL_ERROR "No Fuse found, can't build dnbd3 project!") -endif(NOT FUSE_FOUND) - # include project version and build type related macros include(Version) include(Build) -- cgit v1.2.3-55-g7522