Commit 964f585c authored by Claudia Canevari's avatar Claudia Canevari
Browse files

added PGI compiler

parent eeb3527a
......@@ -36,7 +36,12 @@ include_directories(src/octree)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
if (${UNIX})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -mtune=native ")
if (CMAKE_CXX_COMPILER_ID STREQUAL "PGI")
message(STATUS "Current CXX_COMPILER: ${CMAKE_CXX_COMPILER_ID}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -noswitcherror -O3 -w")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -mtune=native ")
endif()
endif (${UNIX})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment