diff options
author | Brad King <brad.king@kitware.com> | 2018-03-15 11:51:32 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-03-15 11:52:19 (GMT) |
commit | aaf56620d11bc3f497b5327bfd5a69f7471a8620 (patch) | |
tree | ae626c90ee1a44823e7dbc4103de183f1f0c5792 | |
parent | c388487bd5ec14c8bc9e61202d0c5302fda5bd15 (diff) | |
parent | 25eb6e60d7079aa911031bd66b72b61379ed6c22 (diff) | |
download | CMake-aaf56620d11bc3f497b5327bfd5a69f7471a8620.zip CMake-aaf56620d11bc3f497b5327bfd5a69f7471a8620.tar.gz CMake-aaf56620d11bc3f497b5327bfd5a69f7471a8620.tar.bz2 |
Merge topic 'bootstrap-clarify-error'
25eb6e60d7 bootstrap: Clarify error when building with invalid CXXFLAGS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !1850
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1116,8 +1116,10 @@ done rm -f "${TMPFILE}.cxx" if [ -z "${cmake_cxx_compiler}" ]; then -cmake_error 7 "Cannot find a C++ compiler supporting C++11 on this system. +cmake_error 7 "Cannot find a C++ compiler that supports both C++11 and the specified C++ flags. Please specify one using environment variable CXX. +The C++ flags are \"$cmake_cxx_flags\". +They can be changed using the environment variable CXXFLAGS. See cmake_bootstrap.log for compilers attempted." fi echo "C++ compiler on this system is: ${cmake_cxx_compiler} ${cmake_cxx_flags}" |