set a variable in template to boolean

This commit is contained in:
Stephen Birarda 2016-01-15 11:13:42 -08:00
parent 05e48528bd
commit 29b5076da4

View file

@ -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 $<$<CONFIG:Debug>:@SSL_EAY_LIBRARY_DEBUG@> $<$<NOT:$<CONFIG:Debug>>:@SSL_EAY_LIBRARY_RELEASE@> to fixed up libraries")
list(APPEND EXTRA_LIBRARIES "$<$<CONFIG:Debug>:@SSL_EAY_LIBRARY_DEBUG@>" "$<$<NOT:$<CONFIG:Debug>>:@SSL_EAY_LIBRARY_RELEASE@>")
endif()