From bb9f7856f4e2c70379956facca530126c50c5869 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 15 Jan 2016 10:41:08 -0800 Subject: [PATCH] use cmake generator expression to fixup correct ssleay --- cmake/templates/FixupBundlePostBuild.cmake.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/templates/FixupBundlePostBuild.cmake.in b/cmake/templates/FixupBundlePostBuild.cmake.in index e7dcfe757d..75513a033f 100644 --- a/cmake/templates/FixupBundlePostBuild.cmake.in +++ b/cmake/templates/FixupBundlePostBuild.cmake.in @@ -53,7 +53,8 @@ endif() file(GLOB EXTRA_LIBRARIES "${BUNDLE_PLUGIN_DIR}/*.${PLUGIN_EXTENSION}") if (MANUAL_SSLEAY_COPY) - file(SET EXTRA_LIBRARIES ${EXTRA_LIBRARIES} ${SSL_EAY_LIBRARY_RELEASE}) + message(STATUS "Adding $<$:"@SSL_EAY_LIBRARY_DEBUG@"> $<$>:"@SSL_EAY_LIBRARY_RELEASE@"> to fixed up libraries") + list(APPEND EXTRA_LIBRARIES $<$:${SSL_EAY_LIBRARY_DEBUG}> $<$>:${SSL_EAY_LIBRARY_RELEASE}>) endif() fixup_bundle("${BUNDLE_EXECUTABLE}" "${EXTRA_LIBRARIES}" "@FIXUP_LIBS@")