[cmake-developers] [CMake 0013049]: unset does not function for cached variables
Mantis Bug Tracker
mantis at public.kitware.com
Sat Mar 17 12:43:22 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://cmake.org/Bug/view.php?id=13049
======================================================================
Reported By: kiri
Assigned To:
======================================================================
Project: CMake
Issue ID: 13049
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-03-17 12:43 EDT
Last Modified: 2012-03-17 12:43 EDT
======================================================================
Summary: unset does not function for cached variables
Description:
Contrary to the documentation, using Set() or Unset() to unset a cached variable
does not function.
Steps to Reproduce:
Executing the test case below with
cmake -P
yields:
ShouldNotBeSet = 1
Test:
Set ( ShouldNotBeSet 1 CACHE INTERNAL "Test" )
Set ( ShouldNotBeSet )
Unset ( ShouldNotBeSet )
Message ("ShouldNotBeSet = " ${ShouldNotBeSet})
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-03-17 12:43 kiri New Issue
======================================================================
More information about the cmake-developers
mailing list