Explorar o código

Add web interface resource to the final bundle.

Yuxin Wang %!s(int64=4) %!d(string=hai) anos
pai
achega
e21f71241e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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