Explorar el Código

Add web interface resource to the final bundle.

Yuxin Wang hace 4 años
padre
commit
e21f71241e
Se han modificado 1 ficheros con 2 adiciones y 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