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)
796796 # Create a static libswift library containing all module object files.
797797 add_library (${name} STATIC ${all_obj_files} )
798798 set_target_properties (${name} PROPERTIES LINKER_LANGUAGE CXX)
799+ set_property (GLOBAL APPEND PROPERTY SWIFT_BUILDTREE_EXPORTS ${name} )
799800endfunction ()
800801
801802macro (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@")
1717set (SWIFT_CMAKE_DIR "@SWIFT_CMAKE_DIR@" )
1818set (SWIFT_BINARY_DIR "@SWIFT_BINARY_DIR@" )
1919
20+ set (LIBSWIFT_BUILD_MODE "@LIBSWIFT_BUILD_MODE@" )
21+
2022set (CMARK_TARGETS_FILE @SWIFT_PATH_TO_CMARK_BUILD@/src/cmarkTargets.cmake)
2123if (NOT TARGET libcmark_static AND EXISTS ${CMARK_TARGETS_FILE} )
2224 include (${CMARK_TARGETS_FILE} )
You can’t perform that action at this time.
0 commit comments