mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:19:05 +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)
|
include(BundleUtilities)
|
||||||
fixup_bundle("${BUNDLE_EXECUTABLE}" "" "")
|
fixup_bundle("${BUNDLE_EXECUTABLE}" "" "${LIB_SEARCH_DIRS}")
|
|
@ -240,11 +240,15 @@ else (APPLE)
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
|
list(APPEND LIB_SEARCH_DIRS ${EXTERNALS_BINARY_DIR})
|
||||||
# add a post-build command to copy DLLs beside the interface executable
|
# add a post-build command to copy DLLs beside the interface executable
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
TARGET ${TARGET_NAME}
|
TARGET ${TARGET_NAME}
|
||||||
POST_BUILD
|
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 ()
|
endif ()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue