From 02fed920742c13772e1724c4f292ba403892f8e3 Mon Sep 17 00:00:00 2001 From: Mathis Logemann Date: Fri, 23 Jul 2021 19:34:17 +0200 Subject: [PATCH] link with correct lib (clang) --- CMakePresets.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakePresets.json b/CMakePresets.json index 8f3d84f0d..06a43f192 100644 --- a/CMakePresets.json +++ b/CMakePresets.json @@ -15,9 +15,9 @@ "cacheVariables": { "CMAKE_C_COMPILER": "clang", "CMAKE_CXX_COMPILER": "clang++", - "CMAKE_CXX_FLAGS": "-stdlib=libstdc++", - "CMAKE_EXE_LINKER_FLAGS": "-stdlib=libstdc++", - "CMAKE_SHARED_LINKER_FLAGS": "-stdlib=libstdc++" + "CMAKE_CXX_FLAGS": "-stdlib=libc++", + "CMAKE_EXE_LINKER_FLAGS": "-stdlib=libc++", + "CMAKE_SHARED_LINKER_FLAGS": "-stdlib=libc++" } }, {