Ver Fonte

Add web interface resource to the final bundle.

Yuxin Wang há 4 anos atrás
pai
commit
e21f71241e
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/CMakeLists.txt

+ 2 - 0
src/CMakeLists.txt

@@ -110,6 +110,8 @@ if(APPLE)
   set(RESOURCE_ROOT Resources)
 endif()
 
+add_resources(TARGET ${MAIN_TARGET} SOURCES ${CMAKE_CURRENT_BINARY_DIR}/../dist/ DEST ${RESOURCE_ROOT}/web-client/desktop)
+
 if(NOT APPLE)
   set(rsrc_locations
     ${QTROOT}/resources