From 31bd83e9fc6c88b7caccd742886b077f387081e9 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 22 Jul 2013 17:19:55 -0400 Subject: set_property: Do not remove a property when APPENDing nothing --- Tests/EmptyProperty/CMakeLists.txt | 9 +++++++++ Tests/EmptyProperty/EmptyProperty.cxx | 1 + 2 files changed, 10 insertions(+) create mode 100644 Tests/EmptyProperty/CMakeLists.txt create mode 100644 Tests/EmptyProperty/EmptyProperty.cxx (limited to 'Tests/EmptyProperty') diff --git a/Tests/EmptyProperty/CMakeLists.txt b/Tests/EmptyProperty/CMakeLists.txt new file mode 100644 index 0000000000..39e75f36a9 --- /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 0000000000..78f2de106c --- /dev/null +++ b/Tests/EmptyProperty/EmptyProperty.cxx @@ -0,0 +1 @@ +int main(void) { return 0; } -- cgit v1.2.1