From c7a42a1b1f633d89d1d80d8b2703202b0827724e Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 14 Apr 2004 17:02:40 -0400 Subject: BUG: fix for bug 608 --- Modules/FindITK.cmake | 4 ++-- 1 file 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}) -- cgit v0.12