Changeset 3051


Ignore:
Timestamp:
09/30/15 12:40:29 (9 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): cmake build of asap

Description: changes to top level CMakeLists.txt from Ville to supress "unknown warning option '-Wno-non-template-friend'" warnings at build.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r3050 r3051  
    9797
    9898# default flags
    99 set( DEFAULT_CXX_FLAGS
    100      "-pipe -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment" )
     99if( APPLE )
     100    set( DEFAULT_CXX_FLAGS "-pipe -Wall -Wextra -Wcast-align -Wno-comment" )
     101else ()
     102    set( DEFAULT_CXX_FLAGS "-pipe -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment" )
     103endif()
    101104
    102105# additional flag for fortran complex div/mul rules.
Note: See TracChangeset for help on using the changeset viewer.