From 44d6d4405e299123d81341b103c5b99d3351a62e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 5 Dec 2017 13:45:22 +0300 Subject: [PATCH] Don't meddle with stdlib Forgotten part of #1014: -stdlib should not be changed. It breaks build on e.g. FreeBSD where libc++ is used. --- build/CMakeLists.txt | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index db0fd33f..e7b5eb9a 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -461,12 +461,6 @@ if (WITH_BINARY) fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") " COMPONENT Runtime) endif () - - if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang") - if (NOT (MSVC OR MSYS OR APPLE)) # for Clang build on Linux - target_link_libraries("${PROJECT_NAME}" stdc++) - endif() - endif() endif () install(FILES ../LICENSE