ENABLE_IF_SUPPORTED incorrectly exported invalid (cpp) macro definitions
containing a dash "-". Fix this by replacing all dashes with underscores
"_".
## ---------------------------------------------------------------------
##
-## Copyright (C) 2012 - 2013 by the deal.II authors
+## Copyright (C) 2012 - 2014 by the deal.II authors
##
## This file is part of the deal.II library.
##
IF(NOT "${_flag_stripped}" STREQUAL "")
STRING(REGEX REPLACE "^-" "" _flag_name "${_flag_stripped}")
STRING(REPLACE "," "" _flag_name "${_flag_name}")
- STRING(REPLACE "--" "__" _flag_name "${_flag_name}")
+ STRING(REPLACE "-" "_" _flag_name "${_flag_name}")
STRING(REPLACE "++" "__" _flag_name "${_flag_name}")
CHECK_CXX_COMPILER_FLAG(
"${_flag_stripped}"
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams