Skip to content

Commit e8d020e

Browse files
Merge pull request #489 from spevans/pr_install_dispatch_stubs
Install libDispatchStubs.a if building static libraries.
2 parents a18aa1f + fae0282 commit e8d020e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/CMakeLists.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,5 +296,12 @@ if(ENABLE_SWIFT)
296296
DESTINATION
297297
${INSTALL_TARGET_DIR})
298298
endif()
299+
300+
if(NOT BUILD_SHARED_LIBS)
301+
install(FILES
302+
$<TARGET_FILE:DispatchStubs>
303+
DESTINATION
304+
${INSTALL_TARGET_DIR})
305+
endif()
299306
endif()
300307

0 commit comments

Comments
 (0)