[mlpack-git] master: Use FATAL_ERROR instead of FATAL, so that CMake will actually crash when C++11 isn't available. (6c4e8ff)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:02:40 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 6c4e8ffcb63e55415b64c6874020e6a7bbfe4c41
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Nov 5 23:31:03 2014 +0000
Use FATAL_ERROR instead of FATAL, so that CMake will actually crash when C++11
isn't available.
>---------------------------------------------------------------
6c4e8ffcb63e55415b64c6874020e6a7bbfe4c41
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 42f0a23..f5e6c98 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -5,7 +5,7 @@ project(mlpack C CXX)
include(CMake/CXX11.cmake)
check_for_cxx11_compiler(HAS_CXX11)
if(NOT HAS_CXX11)
- message(FATAL "No C++11 compiler available!")
+ message(FATAL_ERROR "No C++11 compiler available!")
endif(NOT HAS_CXX11)
enable_cxx11()
More information about the mlpack-git
mailing list