Browse Source

BUG: fix undefined property FRAMEWORK

Ken Martin 18 years ago
parent
commit
9bd0d0f1ed
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Source/cmTarget.cxx

+ 8 - 0
Source/cmTarget.cxx

@@ -94,6 +94,14 @@ void cmTarget::DefineProperties(cmake *cm)
      "A message to display on some generators (such as makefiles) when "
      "A message to display on some generators (such as makefiles) when "
      "the target is built.");
      "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
   cm->DefineProperty
     ("HAS_CXX", cmProperty::TARGET,
     ("HAS_CXX", cmProperty::TARGET,
      "Force a target to use the CXX linker.",
      "Force a target to use the CXX linker.",