Skip to content

Commit

Permalink
win32: fixed not found AQEMU resources
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanAizek committed Mar 4, 2024
1 parent 207f7b7 commit ade23d8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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 )

Expand All @@ -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} )
Expand Down

0 comments on commit ade23d8

Please sign in to comment.