From ecda6db185c609e60ca2ebfeb9e9f4ab817ead16 Mon Sep 17 00:00:00 2001 From: David Sarrut Date: Fri, 10 Mar 2017 13:13:19 +0100 Subject: [PATCH] prevent the use of the superbuild (to remove ?) --- superbuild/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.45.2