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
Christian Butz
VTK
Commits
53bf3111
Commit
53bf3111
authored
Aug 25, 2005
by
Brad King
Browse files
ENH: Made install prefix test case-insensitive on Windows and OSX.
parent
8f99dc39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Common/Testing/CMakeLists.txt
View file @
53bf3111
...
...
@@ -87,7 +87,14 @@ ENDIF(PYTHON_EXECUTABLE)
# Configure the VTK install test. It is enabled only if the install
# prefix is set to an InstallTest directory under the top of the build
# tree.
STRING
(
COMPARE EQUAL
"
${
CMAKE_INSTALL_PREFIX
}
"
"
${
VTK_BINARY_DIR
}
/InstallTest"
IF
(
WIN32 OR APPLE
)
STRING
(
TOLOWER
"
${
CMAKE_INSTALL_PREFIX
}
"
VTK_TEST_INSTALL_LEFT
)
STRING
(
TOLOWER
"
${
VTK_BINARY_DIR
}
/InstallTest"
VTK_TEST_INSTALL_RIGHT
)
ELSE
(
WIN32 OR APPLE
)
SET
(
VTK_TEST_INSTALL_LEFT
"
${
CMAKE_INSTALL_PREFIX
}
"
)
SET
(
VTK_TEST_INSTALL_RIGHT
"
${
VTK_BINARY_DIR
}
/InstallTest"
)
ENDIF
(
WIN32 OR APPLE
)
STRING
(
COMPARE EQUAL
"
${
VTK_TEST_INSTALL_LEFT
}
"
"
${
VTK_TEST_INSTALL_RIGHT
}
"
VTK_TEST_INSTALL
)
# No install when using rpaths.
...
...
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