From 94713ae4aeaf6813e007c067930c2a8e94d80433 Mon Sep 17 00:00:00 2001 From: Sebastian Reiter Date: Sun, 21 Jul 2024 16:35:52 +0200 Subject: [PATCH] CMake: Adjust minimum version to support `FetchContent`. --- CMakeLists.txt | 2 +- sample/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c4db2b9..8cfe323 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.11) option (MOOSE_BUILD_SAMPLE "Build the moose sample application") option (MOOSE_BUILD_TESTS "Build the moose tests") diff --git a/sample/CMakeLists.txt b/sample/CMakeLists.txt index a5bfecf..d4761e0 100644 --- a/sample/CMakeLists.txt +++ b/sample/CMakeLists.txt @@ -23,7 +23,7 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -cmake_minimum_required (VERSION 3.1) +cmake_minimum_required (VERSION 3.11) project (moosesample)