Skip to content
Snippets Groups Projects
Commit bac4590e authored by Bill Lorensen's avatar Bill Lorensen Committed by David Gobbi
Browse files

BUG: Remote hidden file regex was incorrect

First, the remote module glob produces full file names.

Second, the regex was excluing all remote modules.

I tested the new regexp with a hidden file and it works.
parent 74270ba6
Branches
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ include(vtkModuleRemote)
file(GLOB remotes "*.remote.cmake")
foreach(remote_module ${remotes})
if (remote_module MATCHES "^\.")
if (remote_module MATCHES "/\\.")
continue ()
endif ()
include(${remote_module})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment