Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: use absolute path when applying exclude regex #1902

Merged
merged 3 commits into from
Mar 11, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add PROJECT DIR on filter
  • Loading branch information
lupin012 committed Mar 10, 2024
commit a3795f44c242bc4e4c056715136cfd1f9f2b929f
2 changes: 1 addition & 1 deletion cmake/common/targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ find_package(Catch2 REQUIRED)

macro(list_filter VAR EXCLUDE_REGEX)
foreach(R IN LISTS ${EXCLUDE_REGEX})
list(FILTER ${VAR} EXCLUDE REGEX "${R}")
list(FILTER ${VAR} EXCLUDE REGEX "{SILKWORM_SRC_DIR}/${R}")
endforeach()
endmacro()

Expand Down