From: Bruno Turcksin Date: Wed, 19 Aug 2015 19:07:08 +0000 (-0500) Subject: Add debug flag when testing for support of C++14. X-Git-Tag: v8.4.0-rc2~584^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a6d5495df0620ad6d7fa5a6ea9bd5f8b6dda1a2;p=dealii.git Add debug flag when testing for support of C++14. --- diff --git a/cmake/checks/check_01_cxx_features.cmake b/cmake/checks/check_01_cxx_features.cmake index 2c46133e0e..32d49236cc 100644 --- a/cmake/checks/check_01_cxx_features.cmake +++ b/cmake/checks/check_01_cxx_features.cmake @@ -103,6 +103,10 @@ IF(NOT DEFINED DEAL_II_WITH_CXX14 OR DEAL_II_WITH_CXX14) MESSAGE(STATUS "Using C++ version flag \"${DEAL_II_CXX_VERSION_FLAG}\"") PUSH_CMAKE_REQUIRED("${DEAL_II_CXX_VERSION_FLAG}") + # Some versions of clang are feature complete but do not have debug + # information. + PUSH_CMAKE_REQUIRED("-g") + # # This test does not guarantee full C++14 support, but virtually every # compiler with some C++14 support implements this.