Commit 74270ba6 authored by Ben Boeckel's avatar Ben Boeckel

remote: don't include hidden files

Fixes #17382
parent 4d5cd678
...@@ -3,5 +3,8 @@ include(vtkModuleRemote) ...@@ -3,5 +3,8 @@ include(vtkModuleRemote)
file(GLOB remotes "*.remote.cmake") file(GLOB remotes "*.remote.cmake")
foreach(remote_module ${remotes}) foreach(remote_module ${remotes})
if (remote_module MATCHES "^\.")
continue ()
endif ()
include(${remote_module}) include(${remote_module})
endforeach() endforeach()
Markdown is supported
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