diff options
author | Brad King <brad.king@kitware.com> | 2014-09-02 17:53:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-09-30 12:45:34 (GMT) |
commit | c12e46991e02c2ea59864512d2c1fb7c2b4b0f9d (patch) | |
tree | bdc60e946b359414bfe7c7daf10b8357c157945d /Source/cmTarget.cxx | |
parent | 9a4df52aa1f6736c2eceebd109240441bc3a4d6e (diff) | |
download | CMake-c12e46991e02c2ea59864512d2c1fb7c2b4b0f9d.zip CMake-c12e46991e02c2ea59864512d2c1fb7c2b4b0f9d.tar.gz CMake-c12e46991e02c2ea59864512d2c1fb7c2b4b0f9d.tar.bz2 |
Add 'ANDROID_API' target property to set Android Target API
Also add a 'CMAKE_ANDROID_API' variable to set the property default.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 1e2f75c..85bf087 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -324,6 +324,7 @@ void cmTarget::SetMakefile(cmMakefile* mf) // Setup default property values. if (this->GetType() != INTERFACE_LIBRARY && this->GetType() != UTILITY) { + this->SetPropertyDefault("ANDROID_API", 0); this->SetPropertyDefault("INSTALL_NAME_DIR", 0); this->SetPropertyDefault("INSTALL_RPATH", ""); this->SetPropertyDefault("INSTALL_RPATH_USE_LINK_PATH", "OFF"); |