mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 22:27:13 +02:00
ensure fixup bundle post build step called with list
This commit is contained in:
parent
c3b71196c7
commit
b14110f596
2 changed files with 1 additions and 5 deletions
|
@ -10,14 +10,10 @@
|
|||
#
|
||||
|
||||
macro(ADD_PATHS_TO_LIB_PATHS)
|
||||
message(STATUS "ADD_PATHS called with ${ARGN}")
|
||||
foreach(_PATH ${ARGN})
|
||||
message(STATUS "ADDING ${_PATH}")
|
||||
message(STATUS "CURRENT LIB_PATHS is ${LIB_PATHS}")
|
||||
set(TEMP_LIB_PATHS ${LIB_PATHS})
|
||||
list(APPEND TEMP_LIB_PATHS ${_PATH})
|
||||
|
||||
set(LIB_PATHS ${TEMP_LIB_PATHS} CACHE TYPE LIST FORCE)
|
||||
message(STATUS "LIB PATHS IS NOW ${LIB_PATHS}")
|
||||
endforeach()
|
||||
endmacro()
|
|
@ -17,7 +17,7 @@ macro(COPY_DLLS_BESIDE_WINDOWS_EXECUTABLE)
|
|||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND}
|
||||
-DBUNDLE_EXECUTABLE=$<TARGET_FILE:${TARGET_NAME}>
|
||||
-DLIB_PATHS=${LIB_PATHS}
|
||||
-DLIB_PATHS="${LIB_PATHS}"
|
||||
-P ${HIFI_CMAKE_DIR}/scripts/FixupBundlePostBuild.cmake
|
||||
)
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue