diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-04-14 21:02:40 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-04-14 21:02:40 (GMT) |
commit | c7a42a1b1f633d89d1d80d8b2703202b0827724e (patch) | |
tree | 5f731f78abc5623e9b98d25a5cbb8fa646561a23 /Modules/FindITK.cmake | |
parent | 7fa36510d5b246a9c5be5918f5f60fc377f77d00 (diff) | |
download | CMake-c7a42a1b1f633d89d1d80d8b2703202b0827724e.zip CMake-c7a42a1b1f633d89d1d80d8b2703202b0827724e.tar.gz CMake-c7a42a1b1f633d89d1d80d8b2703202b0827724e.tar.bz2 |
BUG: fix for bug 608
Diffstat (limited to 'Modules/FindITK.cmake')
-rw-r--r-- | Modules/FindITK.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindITK.cmake b/Modules/FindITK.cmake index 4858f5f..c997505 100644 --- a/Modules/FindITK.cmake +++ b/Modules/FindITK.cmake @@ -27,9 +27,9 @@ IF(NOT ITK_DIR) # Get the system search path as a list. IF(UNIX) - STRING(REGEX MATCHALL "[^:]+" ITK_DIR_SEARCH1 $ENV{PATH}) + STRING(REGEX MATCHALL "[^:]+" ITK_DIR_SEARCH1 "$ENV{PATH}") ELSE(UNIX) - STRING(REGEX REPLACE "\\\\" "/" ITK_DIR_SEARCH1 $ENV{PATH}) + STRING(REGEX REPLACE "\\\\" "/" ITK_DIR_SEARCH1 "$ENV{PATH}") ENDIF(UNIX) STRING(REGEX REPLACE "/;" ";" ITK_DIR_SEARCH2 ${ITK_DIR_SEARCH1}) |