Skip to content

fix CMake error if in directory with ++ in name

Boris Nagaev requested to merge starius/vtk:fix-for-special-chars-in-dir into master

If ${VTK_SOURCE_DIR} contains "++", the following error is produced by CMake:

RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.

Use STREQUAL instead of MATCHES to compare strings.

Merge request reports