diff --git a/CMakeLists.txt b/CMakeLists.txt index 8de6513..10998d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,21 +1,14 @@ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.5) #To avoid OpenMP warning: https://gitlab.kitware.com/cmake/cmake/issues/17292 if(POLICY CMP0054) - cmake_policy(SET CMP0054 NEW) + cmake_policy(SET CMP0054 NEW) endif() project(proxTV DESCRIPTION "Toolbox for fast Total Variation proximity operators" - LANGUAGES C CXX + VERSION 3.2.1 ) -# Set VERSION -# Since cmake v3.0 we can just give an option to project(proxTV VERSION 3.2.1 LANGUAGES C CXX) -set(proxTV_VERSION_MAJOR 3) -set(proxTV_VERSION_MINOR 2) -set(proxTV_VERSION_PATCH 1) -# set(proxTV_VERSION_TWEAK 0) -set(proxTV_VERSION "${proxTV_VERSION_MAJOR}.${proxTV_VERSION_MINOR}.${proxTV_VERSION_PATCH}") message(STATUS "proxTV version: ${proxTV_VERSION}") # External Dependencies: {{{