Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sergio Decherchi
NanoShaper
Commits
964f585c
Commit
964f585c
authored
Sep 27, 2021
by
Claudia Canevari
Browse files
added PGI compiler
parent
eeb3527a
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists_standalone.txt
View file @
964f585c
...
...
@@ -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})
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment