From a1e3719bf8b9a5e949536391ea1b9e84df69590a Mon Sep 17 00:00:00 2001 From: Kubat <mael.martin31@gmail.com> Date: Fri, 19 Nov 2021 11:26:32 +0100 Subject: [PATCH] CMAKE: Fix cmake file - Correct minimal version - Correct message status --- CMakeLists.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bfa3728e..5cafdd3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.17) # Alpho Vivy, CXX only project(Vivy VERSION 0.1 LANGUAGES CXX) @@ -7,16 +7,16 @@ cmake_policy(SET CMP0009 NEW) # Do not follow symlinks with GLOB_RECURSE # Don't forget for specific things if(WIN32) - message("You are building on windows, pay attenion to the dependencies") + message(STATUS "You are building on windows, pay attenion to the dependencies") endif() if(MSVC OR MSYS OR MINGW) - message("You are building with a windows compiler") + message(STATUS "You are building with a windows compiler") endif() if(APPLE) - message("You are building on MacOS X") + message(STATUS "You are building on MacOS X") endif() if(UNIX AND NOT APPLE) - message("You are building on Linux, FreeBSD or any other toaster OS") + message(STATUS "You are building on Linux, FreeBSD or any other toaster OS") endif() # Pass -fPIC -- GitLab