Skip to content

Commit 44d6d44

Browse files
authored
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.
1 parent 1c970b0 commit 44d6d44

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎build/CMakeLists.txt‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -461,12 +461,6 @@ if (WITH_BINARY)
461461
fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\")
462462
" COMPONENT Runtime)
463463
endif ()
464-
465-
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
466-
if (NOT (MSVC OR MSYS OR APPLE)) # for Clang build on Linux
467-
target_link_libraries("${PROJECT_NAME}" stdc++)
468-
endif()
469-
endif()
470464
endif ()
471465

472466
install(FILES ../LICENSE

0 commit comments

Comments
 (0)