ENH: change STRICT to CMAKE_STRICT
This commit is contained in:
parent
6feb9a3309
commit
92db085ac6
@ -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!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user