From de6ff9be47ec8909996f454ab09deb5495c9a1df Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 29 Apr 2021 16:53:58 +0200 Subject: [PATCH] [cmake] Avoid disallowed escape sequence (fixes cmake 3.16) --- cmake/modules/DumuxTestMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/modules/DumuxTestMacros.cmake b/cmake/modules/DumuxTestMacros.cmake index ba9fa59f35..5268191a60 100644 --- a/cmake/modules/DumuxTestMacros.cmake +++ b/cmake/modules/DumuxTestMacros.cmake @@ -258,7 +258,7 @@ function(dumux_add_test) file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/TestMetaData") file(WRITE "${CMAKE_BINARY_DIR}/TestMetaData/${ADDTEST_NAME}.json" - "\{\n \"name\": \"${ADDTEST_NAME}\",\n \"target\": \"${ADDTEST_TARGET}\"\n\}\n") + "{\n \"name\": \"${ADDTEST_NAME}\",\n \"target\": \"${ADDTEST_TARGET}\"\n}\n") endfunction() # Evaluate test guards like dune_add_test internally does -- GitLab