Quellcode durchsuchen

Only do add_resources for web client on macOS.

Ian Walton vor 4 Jahren
Ursprung
Commit
414a7a6915
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. 1 2
      src/CMakeLists.txt

+ 1 - 2
src/CMakeLists.txt

@@ -108,10 +108,9 @@ endif()
 set(RESOURCE_ROOT .)
 if(APPLE)
   set(RESOURCE_ROOT Resources)
+  add_resources(TARGET ${MAIN_TARGET} SOURCES ${CMAKE_CURRENT_BINARY_DIR}/../dist/ DEST ${RESOURCE_ROOT}/web-client/desktop)
 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