Skip to content

Commit

Permalink
Merge pull request apple#373 from iCharlesHu/charles/cmake-rename-rop…
Browse files Browse the repository at this point in the history
…e-module

Rename RopeModule to _RopeModule in CMakeLists.txt to match Package.swift
  • Loading branch information
lorentey authored Apr 30, 2024
2 parents 08347cc + ba5154b commit fdc7c92
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Sources/RopeModule/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
#]]

add_library(RopeModule
add_library(_RopeModule
"BigString/Basics/BigString+Metrics.swift"
"BigString/Basics/BigString+Index.swift"
"BigString/Basics/BigString+Summary.swift"
Expand Down Expand Up @@ -85,10 +85,10 @@ add_library(RopeModule
"Utilities/String.Index+ABI.swift"
"Utilities/Optional Utilities.swift"
)
target_link_libraries(RopeModule PRIVATE
target_link_libraries(_RopeModule PRIVATE
_CollectionsUtilities)
set_target_properties(RopeModule PROPERTIES
set_target_properties(_RopeModule PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY})

_install_target(RopeModule)
set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS RopeModule)
_install_target(_RopeModule)
set_property(GLOBAL APPEND PROPERTY SWIFT_COLLECTIONS_EXPORTS _RopeModule)

0 comments on commit fdc7c92

Please sign in to comment.