Skip to content

Commit

Permalink
cmake: Exclude macOS .DS_Store from resources
Browse files Browse the repository at this point in the history
  • Loading branch information
gxalpha authored and RytoEX committed Aug 31, 2024
1 parent efa291b commit 296a2b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/macos/helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,7 @@ function(target_install_resources target)
message(DEBUG "Installing resources for target ${target}...")
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/data")
file(GLOB_RECURSE data_files "${CMAKE_CURRENT_SOURCE_DIR}/data/*")
list(FILTER data_files EXCLUDE REGEX "\\.DS_Store$")
foreach(data_file IN LISTS data_files)
cmake_path(
RELATIVE_PATH
Expand Down

0 comments on commit 296a2b8

Please sign in to comment.