From: David Sarrut Date: Fri, 10 Mar 2017 12:13:19 +0000 (+0100) Subject: prevent the use of the superbuild (to remove ?) X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=ecda6db185c609e60ca2ebfeb9e9f4ab817ead16;p=clitk.git prevent the use of the superbuild (to remove ?) --- diff --git a/superbuild/CMakeLists.txt b/superbuild/CMakeLists.txt index fad0b95..a059e4e 100644 --- a/superbuild/CMakeLists.txt +++ b/superbuild/CMakeLists.txt @@ -1,6 +1,11 @@ cmake_minimum_required(VERSION 2.8) cmake_policy(VERSION 2.8) + + +message( FATAL_ERROR "This superbuild is not up to date, do not use." ) + + # set a default build type if it is undefined, then make sure it goes in the cache if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE Release)