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.
pull/1022/head
Dmitry Marakasov 7 years ago committed by GitHub
parent 1c970b0714
commit 44d6d4405e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save