Skip to content

Commit

Permalink
force symlink resolvution in codedup
Browse files Browse the repository at this point in the history
  • Loading branch information
psycofdj committed Jun 16, 2017
1 parent d83081f commit 63ad34b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/codedup/FindCodeDupRule.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ else()
foreach(c_res ${l_files})
foreach(c_exclude_pattern ${CodeDupRule_EXCLUDE_PATTERNS})
if (NOT ${c_res} MATCHES ${c_exclude_pattern})
list(APPEND l_args --files ${c_res})

get_filename_component(l_abspath ${c_res} REALPATH)
list(APPEND l_args --files ${l_abspath})
endif()
endforeach()
list(APPEND CodeDupRule_DEPENDS ${c_res})
Expand Down

0 comments on commit 63ad34b

Please sign in to comment.