cmake: Exclude macOS .DS_Store from resources
This commit is contained in:
parent
efa291b140
commit
296a2b8631
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue