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:
parent
2a7753a6a5
commit
b6fd3b7bb1
@ -380,7 +380,7 @@ bool cmFileCommand::HandleInstallCommand(
|
|||||||
if ( ch1 != '/' )
|
if ( ch1 != '/' )
|
||||||
{
|
{
|
||||||
int relative = 0;
|
int relative = 0;
|
||||||
if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'a' && ch1 <= 'z' ) &&
|
if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'A' && ch1 <= 'Z' ) &&
|
||||||
ch2 == ':' )
|
ch2 == ':' )
|
||||||
{
|
{
|
||||||
// Assume windows
|
// Assume windows
|
||||||
|
Loading…
x
Reference in New Issue
Block a user