Skip to content

Commit

Permalink
Exclude .DS_Store files when installing icons/hicolor directory
Browse files Browse the repository at this point in the history
  • Loading branch information
equeim committed Dec 17, 2023
1 parent 6e3e28a commit c867f22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ list(
if (TREMOTESF_UNIX_FREEDESKTOP)
find_package(Gettext 0.19.7 REQUIRED)

install(DIRECTORY "icons/hicolor" DESTINATION "${CMAKE_INSTALL_DATADIR}/icons")
install(DIRECTORY "icons/hicolor" DESTINATION "${CMAKE_INSTALL_DATADIR}/icons" PATTERN ".DS_Store" EXCLUDE)

set(po_dir "${CMAKE_CURRENT_SOURCE_DIR}/po")

Expand Down Expand Up @@ -43,7 +43,7 @@ elseif (WIN32 OR APPLE)
set(TREMOTESF_BUNDLED_ICON_THEME "breeze")
set(TREMOTESF_BUNDLED_ICON_THEME ${TREMOTESF_BUNDLED_ICON_THEME} PARENT_SCOPE)

install(DIRECTORY "icons/hicolor" DESTINATION "${TREMOTESF_EXTERNAL_RESOURCES_PATH}/icons")
install(DIRECTORY "icons/hicolor" DESTINATION "${TREMOTESF_EXTERNAL_RESOURCES_PATH}/icons" PATTERN ".DS_Store" EXCLUDE)

include(FetchContent)
cmake_policy(SET CMP0135 NEW)
Expand Down

0 comments on commit c867f22

Please sign in to comment.