Skip to content

Commit

Permalink
Merge pull request #1776 from spevans/pr_remove_extra_libfoundation
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-ci committed Nov 23, 2018
2 parents 257500f + e703f93 commit 286c7dd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions CMakeLists.txt
Expand Up @@ -59,9 +59,6 @@ if(FOUNDATION_ENABLE_LIBDISPATCH)
set(deployment_enable_libdispatch -DDEPLOYMENT_ENABLE_LIBDISPATCH)
set(libdispatch_cflags -I;${FOUNDATION_PATH_TO_LIBDISPATCH_SOURCE};-I;${FOUNDATION_PATH_TO_LIBDISPATCH_BUILD}/src/swift;-Xcc;-fblocks)
set(libdispatch_ldflags -L;${FOUNDATION_PATH_TO_LIBDISPATCH_BUILD};-L;${FOUNDATION_PATH_TO_LIBDISPATCH_BUILD}/src;-ldispatch)
if(CMAKE_SYSTEM_NAME STREQUAL Linux OR CMAKE_SYSTEM_NAME STREQUAL Android OR CMAKE_SYSTEM_NAME STREQUAL FreeBSD)
list(APPEND libdispatch_ldflags -Xlinker;-rpath;-Xlinker;${FOUNDATION_PATH_TO_LIBDISPATCH_BUILD}/src)
endif()
endif()

add_swift_library(Foundation
Expand Down Expand Up @@ -465,12 +462,6 @@ install(FILES
CoreFoundation/Base.subproj/module.map
DESTINATION
lib/swift/CoreFoundation)
if(NOT CMAKE_SYSTEM_NAME STREQUAL Darwin)
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_SHARED_LIBRARY_PREFIX}Foundation${CMAKE_SHARED_LIBRARY_SUFFIX}
DESTINATION
lib/swift/${swift_os}/${swift_arch})
endif()
install(FILES
${CMAKE_CURRENT_BINARY_DIR}/plutil
DESTINATION
Expand Down

0 comments on commit 286c7dd

Please sign in to comment.