Skip to content

Commit 88103d2

Browse files
spevansrokhinip
authored andcommitted
Install libDispatchStubs.a if building static libraries.
Signed-off-by: Kim Topley <ktopley@apple.com>
1 parent 932cfbe commit 88103d2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/CMakeLists.txt

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

File renamed without changes.

0 commit comments

Comments
 (0)