[cmake-developers] [CMake 0013602]: SET behaves differently for environment variables and normal variables

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 24 04:48:17 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13602 
====================================================================== 
Reported By:                Boian Petkantchin
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13602
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-10-24 04:48 EDT
Last Modified:              2012-10-24 04:48 EDT
====================================================================== 
Summary:                    SET behaves differently for environment variables
and normal variables
Description: 
When 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?
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-24 04:48 Boian PetkantchinNew Issue                                    
2012-10-24 04:48 Boian PetkantchinFile Added: CMakeLists.txt                    
======================================================================




More information about the cmake-developers mailing list