BUG: fix for bug 608
This commit is contained in:
parent
7fa36510d5
commit
c7a42a1b1f
|
@ -27,9 +27,9 @@
|
||||||
IF(NOT ITK_DIR)
|
IF(NOT ITK_DIR)
|
||||||
# Get the system search path as a list.
|
# Get the system search path as a list.
|
||||||
IF(UNIX)
|
IF(UNIX)
|
||||||
STRING(REGEX MATCHALL "[^:]+" ITK_DIR_SEARCH1 $ENV{PATH})
|
STRING(REGEX MATCHALL "[^:]+" ITK_DIR_SEARCH1 "$ENV{PATH}")
|
||||||
ELSE(UNIX)
|
ELSE(UNIX)
|
||||||
STRING(REGEX REPLACE "\\\\" "/" ITK_DIR_SEARCH1 $ENV{PATH})
|
STRING(REGEX REPLACE "\\\\" "/" ITK_DIR_SEARCH1 "$ENV{PATH}")
|
||||||
ENDIF(UNIX)
|
ENDIF(UNIX)
|
||||||
STRING(REGEX REPLACE "/;" ";" ITK_DIR_SEARCH2 ${ITK_DIR_SEARCH1})
|
STRING(REGEX REPLACE "/;" ";" ITK_DIR_SEARCH2 ${ITK_DIR_SEARCH1})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue