mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-23 07:49:07 +02:00
Fix serverless content not using correct directories
This commit is contained in:
parent
6948de7e24
commit
d01a58517f
1 changed files with 2 additions and 2 deletions
|
@ -326,7 +326,7 @@ if (APPLE)
|
||||||
fixup_interface()
|
fixup_interface()
|
||||||
|
|
||||||
else()
|
else()
|
||||||
set(RESOURCES_DEV_DIR "$<TARGET_FILE_DIR:${TARGET_NAME}>")
|
set(RESOURCES_DEV_DIR "$<TARGET_FILE_DIR:${TARGET_NAME}>/resources")
|
||||||
|
|
||||||
# copy the resources files beside the executable
|
# copy the resources files beside the executable
|
||||||
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
||||||
|
@ -388,7 +388,7 @@ if (DOWNLOAD_SERVERLESS_CONTENT)
|
||||||
# for dev builds, copy the serverless content to the resources folder
|
# for dev builds, copy the serverless content to the resources folder
|
||||||
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
||||||
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
||||||
"${SOURCE_DIR}/serverless/"
|
"${SOURCE_DIR}"
|
||||||
"${RESOURCES_DEV_DIR}/serverless"
|
"${RESOURCES_DEV_DIR}/serverless"
|
||||||
)
|
)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
Loading…
Reference in a new issue