diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 1c04e4edf80b3a49bb1fe902a77baa81beee486b..a1d9889afe7b39b69a3b48be331634edc97affba 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -273,7 +273,10 @@ void cmTarget::DefineProperties(cmake *cm) "Additional flags to use when compiling this target's sources.", "The COMPILE_FLAGS property sets additional compiler flags used " "to build sources within the target. Use COMPILE_DEFINITIONS " - "to pass additional preprocessor definitions."); + "to pass additional preprocessor definitions." + "\n" + "This property is deprecated. Use the COMPILE_OPTIONS property or the " + "target_compile_options command instead."); cm->DefineProperty ("COMPILE_DEFINITIONS", cmProperty::TARGET,