From 9bd0d0f1ed74ffbeffb2dd8bd6af6f2bd8271893 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 30 Oct 2007 11:03:16 -0400 Subject: [PATCH] BUG: fix undefined property FRAMEWORK --- Source/cmTarget.cxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 186e36101..400337bef 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -94,6 +94,14 @@ void cmTarget::DefineProperties(cmake *cm) "A message to display on some generators (such as makefiles) when " "the target is built."); + cm->DefineProperty + ("FRAMEWORK", cmProperty::TARGET, + "This target is a framework on the Mac.", + "Is set to true then if this target is a shared library, it will " + "be built as a framework when built on the mac. It will have the " + "directory structure required for a framework and will be suitable " + "to be used with the -framework option"); + cm->DefineProperty ("HAS_CXX", cmProperty::TARGET, "Force a target to use the CXX linker.",