mirror of
https://github.com/overte-org/overte.git
synced 2025-04-16 17:26:24 +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()
|
||||
|
||||
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
|
||||
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
|
||||
add_custom_command(TARGET ${TARGET_NAME} POST_BUILD
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy_directory
|
||||
"${SOURCE_DIR}/serverless/"
|
||||
"${SOURCE_DIR}"
|
||||
"${RESOURCES_DEV_DIR}/serverless"
|
||||
)
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue