mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 17:26:16 +02:00
test for recursive dll dir search
This commit is contained in:
parent
bc899eaa58
commit
250b25154c
2 changed files with 6 additions and 2 deletions
|
@ -10,4 +10,4 @@
|
|||
#
|
||||
|
||||
include(BundleUtilities)
|
||||
fixup_bundle("${BUNDLE_EXECUTABLE}" "" "")
|
||||
fixup_bundle("${BUNDLE_EXECUTABLE}" "" "${LIB_SEARCH_DIRS}")
|
|
@ -240,11 +240,15 @@ else (APPLE)
|
|||
endif (APPLE)
|
||||
|
||||
if (WIN32)
|
||||
list(APPEND LIB_SEARCH_DIRS ${EXTERNALS_BINARY_DIR})
|
||||
# add a post-build command to copy DLLs beside the interface executable
|
||||
add_custom_command(
|
||||
TARGET ${TARGET_NAME}
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -DBUNDLE_EXECUTABLE=$<TARGET_FILE:${TARGET_NAME}> -P ${HIFI_CMAKE_DIR}/scripts/FixupBundlePostBuild.cmake
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-DBUNDLE_EXECUTABLE=$<TARGET_FILE:${TARGET_NAME}>
|
||||
-DLIB_SEARCH_DIRS=${LIB_SEARCH_DIRS}
|
||||
-P ${HIFI_CMAKE_DIR}/scripts/FixupBundlePostBuild.cmake
|
||||
)
|
||||
endif ()
|
||||
|
||||
|
|
Loading…
Reference in a new issue