mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 04:13:11 +02:00
add ssleay copy for win AC/DS/Interface
This commit is contained in:
parent
3e3831dbdd
commit
c1a9a7f4c1
4 changed files with 37 additions and 30 deletions
|
@ -9,5 +9,7 @@ link_hifi_libraries(
|
|||
controllers physics
|
||||
)
|
||||
|
||||
set(MANUAL_SSLEAY_COPY TRUE)
|
||||
package_libraries_for_deployment()
|
||||
|
||||
install_beside_console()
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
|
||||
include(BundleUtilities)
|
||||
|
||||
|
||||
# replace copy_resolved_item_into_bundle
|
||||
#
|
||||
# The official version of copy_resolved_item_into_bundle will print out a "warning:" when
|
||||
|
@ -41,7 +40,6 @@ function(copy_resolved_item_into_bundle resolved_item resolved_embedded_item)
|
|||
endfunction()
|
||||
|
||||
message(STATUS "FIXUP_LIBS for fixup_bundle called for bundle ${BUNDLE_EXECUTABLE} are @FIXUP_LIBS@")
|
||||
|
||||
message(STATUS "Scanning for plugins from ${BUNDLE_PLUGIN_DIR}")
|
||||
|
||||
if (APPLE)
|
||||
|
@ -52,5 +50,10 @@ else()
|
|||
set(PLUGIN_EXTENSION "so")
|
||||
endif()
|
||||
|
||||
file(GLOB RUNTIME_PLUGINS "${BUNDLE_PLUGIN_DIR}/*.${PLUGIN_EXTENSION}")
|
||||
fixup_bundle("${BUNDLE_EXECUTABLE}" "${RUNTIME_PLUGINS}" "@FIXUP_LIBS@")
|
||||
file(GLOB EXTRA_LIBRARIES "${BUNDLE_PLUGIN_DIR}/*.${PLUGIN_EXTENSION}")
|
||||
|
||||
if (MANUAL_SSLEAY_COPY)
|
||||
file(SET EXTRA_LIBRARIES ${EXTRA_LIBRARIES} "ssleay32.dll")
|
||||
endif()
|
||||
|
||||
fixup_bundle("${BUNDLE_EXECUTABLE}" "${EXTRA_LIBRARIES}" "@FIXUP_LIBS@")
|
||||
|
|
|
@ -36,6 +36,7 @@ if (UNIX)
|
|||
target_link_libraries(${TARGET_NAME} ${CMAKE_DL_LIBS})
|
||||
endif (UNIX)
|
||||
|
||||
set(MANUAL_SSLEAY_COPY TRUE)
|
||||
package_libraries_for_deployment()
|
||||
|
||||
install_beside_console()
|
||||
|
|
|
@ -265,4 +265,5 @@ if (WIN32)
|
|||
set(EXTRA_DEPLOY_OPTIONS "--qmldir ${PROJECT_SOURCE_DIR}/resources/qml")
|
||||
endif()
|
||||
|
||||
set(MANUAL_SSLEAY_COPY TRUE)
|
||||
package_libraries_for_deployment()
|
||||
|
|
Loading…
Reference in a new issue