diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 7b1f60395..2510382b6 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -639,7 +639,8 @@ void CCONV DefineSourceFileProperty (void *arg, const char *name, { cmMakefile *mf = static_cast(arg); mf->GetCMakeInstance()->DefineProperty(name,cmProperty::SOURCE_FILE, - briefDocs, longDocs,chained); + briefDocs, longDocs, + chained != 0); } } // close the extern "C" scope