Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clinton Stimpson
CMake
Commits
10750bff
Commit
10750bff
authored
Feb 10, 2010
by
David Cole
Browse files
Fix configure time error that occurs when there is a backslash in the HOME environment variable.
parent
c4205773
Changes
1
Hide whitespace changes
Inline
Side-by-side
Tests/CMakeTests/CMakeLists.txt
View file @
10750bff
...
...
@@ -47,11 +47,12 @@ AddCMakeTest(GetPrerequisites "${GetPrerequisites_PreArgs}")
# by any previous configure, build or test steps.
#
if
(
do_cvs_tests
)
string
(
REPLACE
"
\\
"
"/"
ENV_HOME
"$ENV{HOME}"
)
set
(
CheckSourceTree_PreArgs
"-DCMake_BINARY_DIR:PATH=
${
CMake_BINARY_DIR
}
"
"-DCMake_SOURCE_DIR:PATH=
${
CMake_SOURCE_DIR
}
"
"-DCVS_EXECUTABLE:STRING=
${
CVS_EXECUTABLE
}
"
"-DHOME:STRING=$ENV
{
HOME}"
"-DHOME:STRING=
$
{
ENV
_
HOME
}
"
)
AddCMakeTest
(
CheckSourceTree
"
${
CheckSourceTree_PreArgs
}
"
)
endif
(
do_cvs_tests
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment