Commit a51e0880 authored by Jan Möbius's avatar Jan Möbius
Browse files

Follow symlinks when recursive adding files

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ff187db1
......@@ -249,7 +249,7 @@ endmacro ()
# excludes all files starting with a '.' (dot)
macro (acg_append_files_recursive ret ext)
foreach (_dir ${ARGN})
file (GLOB_RECURSE _files "${_dir}/${ext}")
file (GLOB_RECURSE _files FOLLOW_SYMLINKS "${_dir}/${ext}")
foreach (_file ${_files})
get_filename_component (_filename ${_file} NAME)
if (_filename MATCHES "^[.]")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment