From ade23d8a110e94ff83e243373ae18ca90860929e Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Mon, 4 Mar 2024 14:05:59 +0300 Subject: [PATCH] win32: fixed not found AQEMU resources --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index bee0d8f..2b1192f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -252,6 +252,7 @@ IF( NOT WITHOUT_EMBEDDED_DISPLAY ) TARGET_LINK_LIBRARIES( aqemu ${LIBVNCCLIENT_LIBRARIES} ) ENDIF( NOT WITHOUT_EMBEDDED_DISPLAY ) +if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") # Install files INSTALL( TARGETS aqemu DESTINATION bin ) @@ -275,6 +276,16 @@ INSTALL( FILES ${app_menu} DESTINATION share/applications ) FILE( GLOB app_menu "${CMAKE_CURRENT_SOURCE_DIR}/resources/menu_data/aqemu.appdata.xml" ) INSTALL( FILES ${app_menu} DESTINATION share/appdata ) +else() + +FILE( GLOB os_icons "${CMAKE_CURRENT_SOURCE_DIR}/resources/os_icons/*.*") +file(COPY ${os_icons} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/os_icons/) + +FILE( GLOB os_templates "${CMAKE_CURRENT_SOURCE_DIR}/resources/os_templates/*.*") +file(COPY ${os_templates} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/os_templates/) + +endif() + # Create docs .bz2 files MACRO( create_docs _sources ) FOREACH( curFile ${ARGN} )