From 4bf052a780c0b7b563be25844085fd269f72ca45 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Fri, 24 Dec 2021 14:19:17 +0100 Subject: [PATCH] :green_heart: fix script --- cmake/ci.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/ci.cmake b/cmake/ci.cmake index 98a91defb..53f7acf06 100644 --- a/cmake/ci.cmake +++ b/cmake/ci.cmake @@ -817,6 +817,8 @@ foreach(COMPILER g++-4.8 g++-4.9 g++-5 g++-6 g++-7 g++-8 g++-9 g++-10 clang++-3. # fix for https://github.com/nlohmann/json/pull/3101#issuecomment-998788786 / https://stackoverflow.com/a/64051725/266378 if ("${COMPILER}" STREQUAL "clang++-9") set(ADDITIONAL_FLAGS "-DCMAKE_CXX_FLAGS=--gcc-toolchain=/root/gcc/9") + else() + unset(ADDITIONAL_FLAGS) endif() add_custom_target(ci_test_compiler_${COMPILER}