[mlpack] 78/149: Use FATAL_ERROR instead of FATAL, so that CMake will actually crash when C++11 isn't available.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Sat May 2 09:11:11 UTC 2015
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch svn-trunk
in repository mlpack.
commit 00157d5f39a823731c5f59b2d96a2e5644e3ebf3
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
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.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17306 9d5b8971-822b-0410-80eb-d18c1038ef23
---
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()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list