From 29b5076da4b29e3976385cd3a255100cd16cd497 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 15 Jan 2016 11:13:42 -0800 Subject: [PATCH] set a variable in template to boolean --- 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 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()