From fae0282af4ecdb8c5dbc36d2a8a4c4e4915d527e Mon Sep 17 00:00:00 2001 From: Simon Evans Date: Mon, 27 May 2019 19:36:39 +0100 Subject: [PATCH] Install libDispatchStubs.a if building static libraries. --- src/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 19fffcbc7..cefde62a5 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -296,5 +296,12 @@ if(ENABLE_SWIFT) DESTINATION ${INSTALL_TARGET_DIR}) endif() + + if(NOT BUILD_SHARED_LIBS) + install(FILES + $ + DESTINATION + ${INSTALL_TARGET_DIR}) + endif() endif()