- Timestamp:
- 02/06/15 13:40:20 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CMakeLists.txt
r3014 r3022 84 84 set( DEFAULT_CXX_FLAGS 85 85 "-pipe -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment" ) 86 87 # additional flag for fortran complex div/mul rules. 88 include( CheckCXXCompilerFlag ) 89 include( CheckCCompilerFlag ) 90 check_cxx_compiler_flag( -fcx-fortran-rules HAS_GXX_FORTRAN_RULES ) 91 check_c_compiler_flag( -fcx-fortran-rules HAS_GCC_FORTRAN_RULES ) 92 if( HAS_GXX_FORTRAN_RULES ) 93 set( DEFAULT_CXX_FLAGS "-fcx-fortran-rules ${DEFAULT_CXX_FLAGS}") 94 endif() 95 if( HAS_GCC_FORTRAN_RULES ) 96 set( CMAKE_C_FLAGS "-fcx-fortran-rules ${CMAKE_C_FLAGS}" ) 97 endif() 86 98 87 99 find_package( OpenMP )
Note:
See TracChangeset
for help on using the changeset viewer.