ENH: change STRICT to CMAKE_STRICT

This commit is contained in:
Ken Martin 2007-01-04 13:02:43 -05:00
parent 6feb9a3309
commit 92db085ac6
1 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@
#include "cmake.h"
// define STRICT to get checking of all set and get property calls
//#define STRICT
//#define CMAKE_STRICT
cmProperty *cmPropertyMap::GetOrCreateProperty(const char *name)
{
@ -44,7 +44,7 @@ void cmPropertyMap::SetProperty(const char *name, const char *value,
return;
}
#ifdef STRICT
#ifdef CMAKE_STRICT
if (!this->CMakeInstance)
{
cmSystemTools::Error("CMakeInstance not set on a property map!");
@ -97,7 +97,7 @@ const char *cmPropertyMap
}
// has the property been defined?
#ifdef STRICT
#ifdef CMAKE_STRICT
if (!this->CMakeInstance)
{
cmSystemTools::Error("CMakeInstance not set on a property map!");