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
Aland, Sebastian
amdis
Commits
f7b6e563
Commit
f7b6e563
authored
Feb 18, 2016
by
Praetorius, Simon
Browse files
compile-feature detection finally corrected
parent
12d3dc5c
Changes
1
Show whitespace changes
Inline
Side-by-side
AMDiS/cmake/enable_cxx11.cmake
View file @
f7b6e563
...
...
@@ -7,7 +7,7 @@ if (ENABLE_CXX11)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
REQUIRED_CXX_FEATURES
"cxx_alias_templates"
"cxx_auto_type"
"cxx_lambdas"
"cxx_override"
"cxx_range_for"
"cxx_static_assert"
"cxx_variadic_templates"
)
add_library
(
test_compiler_features dummy.cc
)
add_library
(
test_compiler_features
cmake/
dummy.cc
)
foreach
(
feature
${
REQUIRED_CXX_FEATURES
}
)
target_compile_features
(
test_compiler_features PUBLIC
${
feature
}
)
endforeach
(
feature
)
...
...
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