Skip to content

Commit ade23d8

Browse files
committed
win32: fixed not found AQEMU resources
1 parent 207f7b7 commit ade23d8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

CMakeLists.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,7 @@ IF( NOT WITHOUT_EMBEDDED_DISPLAY )
252252
TARGET_LINK_LIBRARIES( aqemu ${LIBVNCCLIENT_LIBRARIES} )
253253
ENDIF( NOT WITHOUT_EMBEDDED_DISPLAY )
254254

255+
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
255256
# Install files
256257
INSTALL( TARGETS aqemu DESTINATION bin )
257258

@@ -275,6 +276,16 @@ INSTALL( FILES ${app_menu} DESTINATION share/applications )
275276
FILE( GLOB app_menu "${CMAKE_CURRENT_SOURCE_DIR}/resources/menu_data/aqemu.appdata.xml" )
276277
INSTALL( FILES ${app_menu} DESTINATION share/appdata )
277278

279+
else()
280+
281+
FILE( GLOB os_icons "${CMAKE_CURRENT_SOURCE_DIR}/resources/os_icons/*.*")
282+
file(COPY ${os_icons} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/os_icons/)
283+
284+
FILE( GLOB os_templates "${CMAKE_CURRENT_SOURCE_DIR}/resources/os_templates/*.*")
285+
file(COPY ${os_templates} DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/os_templates/)
286+
287+
endif()
288+
278289
# Create docs .bz2 files
279290
MACRO( create_docs _sources )
280291
FOREACH( curFile ${ARGN} )

0 commit comments

Comments
 (0)