Browse Source

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
commit
44d6d4405e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      build/CMakeLists.txt

6
build/CMakeLists.txt

@ -461,12 +461,6 @@ if (WITH_BINARY)
fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\") fixup_bundle(\"${APPS}\" \"\" \"${DIRS}\")
" COMPONENT Runtime) " COMPONENT Runtime)
endif () 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 () endif ()
install(FILES ../LICENSE install(FILES ../LICENSE

Loading…
Cancel
Save