File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -796,6 +796,7 @@ function(add_libswift name)
796
796
# Create a static libswift library containing all module object files.
797
797
add_library(${name} STATIC ${all_obj_files} )
798
798
set_target_properties(${name} PROPERTIES LINKER_LANGUAGE CXX)
799
+ set_property(GLOBAL APPEND PROPERTY SWIFT_BUILDTREE_EXPORTS ${name} )
799
800
endfunction()
800
801
801
802
macro(add_swift_tool_subdirectory name)
Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ set(SWIFT_LIBRARY_DIR "@SWIFT_LIBRARY_DIRS@")
17
17
set (SWIFT_CMAKE_DIR "@SWIFT_CMAKE_DIR@" )
18
18
set (SWIFT_BINARY_DIR "@SWIFT_BINARY_DIR@" )
19
19
20
+ set (LIBSWIFT_BUILD_MODE "@LIBSWIFT_BUILD_MODE@" )
21
+
20
22
set (CMARK_TARGETS_FILE @SWIFT_PATH_TO_CMARK_BUILD@/src/cmarkTargets.cmake )
21
23
if (NOT TARGET libcmark_static AND EXISTS ${CMARK_TARGETS_FILE} )
22
24
include (${CMARK_TARGETS_FILE} )
You can’t perform that action at this time.
0 commit comments