Commits

Jed Brown committed e5a8120

config cmakeboot: add C++ flags any time compiler is available

Otherwise C++ files like matelem.cxx would not be compiled with
appropriate flags when clanguage=C.

Comments (0)

Files changed (1)

      langlist.append(('FC','Fortran'))
    if hasattr(self.compilers,'CUDAC'):
      langlist.append(('CUDA','CUDA'))
-   if (self.languages.clanguage == 'Cxx'):
+   if hasattr(self.compilers,'CXX'):
      langlist.append(('Cxx','CXX'))
    win32fe = None
    for petsclanguage,cmakelanguage in langlist: