mirror of
https://github.com/overte-org/overte.git
synced 2025-04-09 15:22:27 +02:00
use cmake generator expression to fixup correct ssleay
This commit is contained in:
parent
e19b61bcbf
commit
bb9f7856f4
1 changed files with 2 additions and 1 deletions
|
@ -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 $<$<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()
|
||||
|
||||
fixup_bundle("${BUNDLE_EXECUTABLE}" "${EXTRA_LIBRARIES}" "@FIXUP_LIBS@")
|
||||
|
|
Loading…
Reference in a new issue