summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-30 15:03:16 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-30 15:03:16 (GMT)
commit9bd0d0f1ed74ffbeffb2dd8bd6af6f2bd8271893 (patch)
tree697977170336596999bee7b5a927ad7c713ee970
parent29c9f1bc2b2fc7886e4c19a197e6d4cd8c3292aa (diff)
downloadCMake-9bd0d0f1ed74ffbeffb2dd8bd6af6f2bd8271893.zip
CMake-9bd0d0f1ed74ffbeffb2dd8bd6af6f2bd8271893.tar.gz
CMake-9bd0d0f1ed74ffbeffb2dd8bd6af6f2bd8271893.tar.bz2
BUG: fix undefined property FRAMEWORK
-rw-r--r--Source/cmTarget.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 186e361..400337b 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -95,6 +95,14 @@ void cmTarget::DefineProperties(cmake *cm)
"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.",
"Setting HAS_CXX on a target will force the target to use the "