Skip to content

Commit 1f72eec

Browse files
rkanavathechoix
authored andcommitted
fix build gui/icons
1 parent db2fc68 commit 1f72eec

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

gui/icons/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,12 @@ foreach(ICON ${GRASS_ICONS})
2222
get_filename_component(FILE_NAME ${ICON} NAME)
2323
add_custom_command(
2424
OUTPUT ${GISBASE}/gui/icons/grass/${FILE_NAME}
25-
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/gui/icons/grass/
26-
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/docs/html/icons/)
25+
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/gui/icons/grass/)
2726
list(APPEND output_icons ${GISBASE}/gui/icons/grass/${FILE_NAME})
27+
28+
add_custom_command(
29+
OUTPUT ${GISBASE}/docs/html/icons/${FILE_NAME}
30+
COMMAND ${CMAKE_COMMAND} -E copy ${ICON} ${GISBASE}/docs/html/icons/)
2831
list(APPEND output_icons ${GISBASE}/docs/html/icons/${FILE_NAME})
2932
endforeach()
3033

0 commit comments

Comments
 (0)