From 3d410252c7837600bc1e9f790dbf5c14dfdb3a41 Mon Sep 17 00:00:00 2001 From: Alezia Kurdis <60075796+AleziaKurdis@users.noreply.github.com> Date: Sun, 27 Feb 2022 14:01:00 -0500 Subject: [PATCH] Exposed serverless subdirectory as resources Expose some serverless subdirectory as outside the binary to make possible the referencing from inside a script or from inside the html these don't support qrc url. --- interface/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/CMakeLists.txt b/interface/CMakeLists.txt index 0462ba2214..af5f573356 100644 --- a/interface/CMakeLists.txt +++ b/interface/CMakeLists.txt @@ -394,6 +394,12 @@ else() COMMAND "${CMAKE_COMMAND}" -E copy_if_different "${PROJECT_SOURCE_DIR}/resources/serverless/redirect.json" "${RESOURCES_DEV_DIR}/serverless/redirect.json" + COMMAND "${CMAKE_COMMAND}" -E copy_directory + "${PROJECT_SOURCE_DIR}/resources/serverless/Fonts" + "${RESOURCES_DEV_DIR}/serverless/Fonts" + COMMAND "${CMAKE_COMMAND}" -E copy_directory + "${PROJECT_SOURCE_DIR}/resources/serverless/Scripts" + "${RESOURCES_DEV_DIR}/serverless/Scripts" COMMAND "${CMAKE_COMMAND}" -E copy_if_different "${RESOURCES_RCC}" "${INTERFACE_EXEC_DIR}/resources.rcc"