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
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers