diff --git a/cmake/templates/FixupBundlePostBuild.cmake.in b/cmake/templates/FixupBundlePostBuild.cmake.in index 3eeeb8082d..fce74db31c 100644 --- a/cmake/templates/FixupBundlePostBuild.cmake.in +++ b/cmake/templates/FixupBundlePostBuild.cmake.in @@ -52,7 +52,8 @@ endif() file(GLOB EXTRA_LIBRARIES "${BUNDLE_PLUGIN_DIR}/*.${PLUGIN_EXTENSION}") -if (@MANUAL_SSLEAY_COPY@) +set(MANUAL_SSLEAY_COPY @MANUAL_SSLEAY_COPY@) +if (MANUAL_SSLEAY_COPY) 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()