View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013602CMakeCMakepublic2012-10-24 04:482016-06-10 14:31
ReporterBoian Petkantchin 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformLinuxOSUbuntuOS Version12.04
Product VersionCMake 2.8.7 
Target VersionFixed in Version 
Summary0013602: SET behaves differently for environment variables and normal variables
DescriptionWhen setting a value as:
set(ENV{FOO} a b c)
the resulting value of ENV{FOO} is "a".

On the other hand
set(FOO a b c)
sets the value of FOO to be "a;b;c".

Shouldn't the two behave identically?
TagsNo tags attached.
Attached Filestxt file icon CMakeLists.txt [^] (178 bytes) 2012-10-24 04:48 [Show Content]

 Relationships

  Notes
(0031302)
David Cole (manager)
2012-10-24 06:58

Hmmmmm...

They should probably behave identically.

But if we change it now, it will give different results for people who've come to rely on the behavior as it is. On the other hand, this is the first we've heard of it after (presumably it must have been like this for) many releases.

How to fix a bug like this is always the big question.
(0042135)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2012-10-24 04:48 Boian Petkantchin New Issue
2012-10-24 04:48 Boian Petkantchin File Added: CMakeLists.txt
2012-10-24 06:58 David Cole Note Added: 0031302
2016-06-10 14:28 Kitware Robot Note Added: 0042135
2016-06-10 14:28 Kitware Robot Status new => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team