Skip to content
Snippets Groups Projects
Commit ef93808b authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos
Browse files

Fix syntax for a valid cxx check

parent af1a2159
No related branches found
No related tags found
1 merge request!1127Add CMake feature test for lambdas in unevaluated context
......@@ -209,4 +209,5 @@ check_cxx_symbol_exists(
DUNE_HAVE_CXX_STD_IDENTITY
)
check_cxx_source_compiles("using F = decltype([]{})\;" DUNE_HAVE_CXX_UNEVALUATED_CONTEXT_LAMBDA)
string(REPLACE ";" "\;" cxx_lambda_test "using F = decltype([](){}); int main() {return 0;}")
check_cxx_source_compiles(${cxx_lambda_test} DUNE_HAVE_CXX_UNEVALUATED_CONTEXT_LAMBDA)
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