mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-01 04:08:46 -06:00
BUG: Install location full-path test for windows needs to account for both lower case and upper case drive letters.
This commit is contained in:
@@ -380,7 +380,7 @@ bool cmFileCommand::HandleInstallCommand(
|
||||
if ( ch1 != '/' )
|
||||
{
|
||||
int relative = 0;
|
||||
if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'a' && ch1 <= 'z' ) &&
|
||||
if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'A' && ch1 <= 'Z' ) &&
|
||||
ch2 == ':' )
|
||||
{
|
||||
// Assume windows
|
||||
|
||||
Reference in New Issue
Block a user