Skip to content

Commit

Permalink
Don't meddle with stdlib
Browse files Browse the repository at this point in the history
Forgotten part of PurpleI2P#1014: -stdlib should not be changed. It breaks build on e.g. FreeBSD where libc++ is used.
  • Loading branch information
AMDmi3 authored Dec 5, 2017
1 parent 1c970b0 commit 44d6d44
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions build/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44d6d44

Please sign in to comment.