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
code
PMem-based Data Structures
Commits
ba373bb2
Commit
ba373bb2
authored
Jun 19, 2020
by
Philipp Götze
Browse files
🔧
Disable 'unknown attribute' warnings of Intel compiler'
parent
6712ce72
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
ba373bb2
...
...
@@ -42,6 +42,10 @@ set(CMAKE_CXX_STANDARD 17)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_FLAGS_DEBUG -g
)
set
(
CMAKE_CXX_FLAGS_RELEASE -O3
)
if
(
"
${
CMAKE_CXX_COMPILER_ID
}
"
MATCHES
"Intel"
)
# wd1292 -> unknown attribute
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-wd1292"
)
endif
()
if
(
NOT CMAKE_BUILD_TYPE
)
message
(
STATUS
"Setting build type to 'Release' as none was specified."
)
set
(
CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build."
FORCE
)
...
...
Write
Preview
Markdown
is supported
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