summaryrefslogtreecommitdiffstats
path: root/Tests/EmptyProperty
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2013-07-22 21:19:55 (GMT)
committerBrad King <brad.king@kitware.com>2013-07-24 14:50:15 (GMT)
commit31bd83e9fc6c88b7caccd742886b077f387081e9 (patch)
tree8f3fda676e97aec9090da5a6409c9000b2a14a83 /Tests/EmptyProperty
parentcb57ce249e9bfa43ef39eac482d5edb037f3ddc8 (diff)
downloadCMake-31bd83e9fc6c88b7caccd742886b077f387081e9.zip
CMake-31bd83e9fc6c88b7caccd742886b077f387081e9.tar.gz
CMake-31bd83e9fc6c88b7caccd742886b077f387081e9.tar.bz2
set_property: Do not remove a property when APPENDing nothing
Diffstat (limited to 'Tests/EmptyProperty')
-rw-r--r--Tests/EmptyProperty/CMakeLists.txt9
-rw-r--r--Tests/EmptyProperty/EmptyProperty.cxx1
2 files changed, 10 insertions, 0 deletions
diff --git a/Tests/EmptyProperty/CMakeLists.txt b/Tests/EmptyProperty/CMakeLists.txt
new file mode 100644
index 0000000..39e75f3
--- /dev/null
+++ b/Tests/EmptyProperty/CMakeLists.txt
@@ -0,0 +1,9 @@
+project (EmptyProperty)
+
+set_property(DIRECTORY APPEND
+ PROPERTY
+ COMPILE_DEFINITIONS)
+
+include(CTest)
+
+add_executable(EmptyProperty EmptyProperty.cxx)
diff --git a/Tests/EmptyProperty/EmptyProperty.cxx b/Tests/EmptyProperty/EmptyProperty.cxx
new file mode 100644
index 0000000..78f2de1
--- /dev/null
+++ b/Tests/EmptyProperty/EmptyProperty.cxx
@@ -0,0 +1 @@
+int main(void) { return 0; }