diff options
author | Brad King <brad.king@kitware.com> | 2003-01-17 23:14:40 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-01-17 23:14:40 (GMT) |
commit | f18e47c40a318bbcbf603ef0978c2ff1b165248a (patch) | |
tree | 0729c500edfda11154f795aae6c8bff2a5b2da7f /Modules/FindVTK.cmake | |
parent | 5bb1a79c9fe0b3822d81f7e27ce625a743aac0eb (diff) | |
download | CMake-f18e47c40a318bbcbf603ef0978c2ff1b165248a.zip CMake-f18e47c40a318bbcbf603ef0978c2ff1b165248a.tar.gz CMake-f18e47c40a318bbcbf603ef0978c2ff1b165248a.tar.bz2 |
BUG: Fix for application of expand-list-variables.
Diffstat (limited to 'Modules/FindVTK.cmake')
-rw-r--r-- | Modules/FindVTK.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/FindVTK.cmake b/Modules/FindVTK.cmake index f948f31..b4fa7e3 100644 --- a/Modules/FindVTK.cmake +++ b/Modules/FindVTK.cmake @@ -38,11 +38,11 @@ SET(VTK_DIR_MESSAGE "VTK not found. Set VTK_DIR to the ${VTK_DIR_DESCRIPTION}") IF(NOT VTK_DIR) # Get the system search path as a list. IF(UNIX) - STRING(REGEX MATCHALL "[^:]+" VTK_DIR_SEARCH1 $ENV{PATH}) + STRING(REGEX MATCHALL "[^:]+" VTK_DIR_SEARCH1 "$ENV{PATH}") ELSE(UNIX) - STRING(REGEX REPLACE "\\\\" "/" VTK_DIR_SEARCH1 $ENV{PATH}) + STRING(REGEX REPLACE "\\\\" "/" VTK_DIR_SEARCH1 "$ENV{PATH}") ENDIF(UNIX) - STRING(REGEX REPLACE "/;" ";" VTK_DIR_SEARCH2 ${VTK_DIR_SEARCH1}) + STRING(REGEX REPLACE "/;" ";" VTK_DIR_SEARCH2 "${VTK_DIR_SEARCH1}") # Construct a set of paths relative to the system search path. SET(VTK_DIR_SEARCH "") |