QGIS/images/icons/CMakeLists.txt

13 lines
317 B
CMake
Raw Normal View History

2020-11-11 11:15:34 +01:00
include(CopyResources)
2011-07-05 18:13:27 +02:00
# OS X app/doc icons
2020-11-11 11:15:34 +01:00
if (APPLE)
add_subdirectory(mac)
endif()
2020-11-11 11:15:34 +01:00
file(GLOB_RECURSE ICON_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.png)
ADD_QGIS_RESOURCES("${CMAKE_CURRENT_SOURCE_DIR}" "images/icons" DEST_ICON_FILES "${ICON_FILES}")
2020-11-11 11:15:34 +01:00
add_custom_target(icons ALL DEPENDS ${DEST_ICON_FILES})