Skip to content
Snippets Groups Projects
Commit 221c642f authored by Debolskiy Andrey's avatar Debolskiy Andrey :bicyclist_tone5:
Browse files

fixed for ld on osx

parent d7f05b24
No related branches found
No related tags found
No related merge requests found
......@@ -31,9 +31,9 @@ if ( COMPILER STREQUAL "gnu")
set(CMAKE_CXX_COMPILER g++ CACHE STRING "CXX compiler" FORCE) # C++ compiler for serial build
set(CMAKE_Fortran_COMPILER gfortran CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for serial build
else()
set(CMAKE_C_COMPILER mpicc CACHE STRING "C compiler" FORCE) # C compiler for parallel build
set(CMAKE_CXX_COMPILER mpicxx CACHE STRING "CXX compiler" FORCE) # C++ compiler for parallel build
set(CMAKE_Fortran_COMPILER mpifort CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build
set(CMAKE_C_COMPILER gcc CACHE STRING "C compiler" FORCE) # C compiler for parallel build
set(CMAKE_CXX_COMPILER g++ CACHE STRING "CXX compiler" FORCE) # C++ compiler for parallel build
set(CMAKE_Fortran_COMPILER gfortran CACHE STRING "Fortran compiler" FORCE) # Fortran compiler for parallel build
endif()
set(comp_flags -O3 -fno-strict-aliasing -funroll-loops -march=native -std=c++0x CACHE STRING "comp_flags to add" FORCE)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment