summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-08 15:42:35 (GMT)
committerFriedrich W. H. Kossebau <kossebau@kde.org>2016-08-08 15:46:59 (GMT)
commit7ed5da2ee223a61e3d279ae9f40688089b3232bc (patch)
tree2e38916498765fa8fe1ccd297ebb7bb34238bebe
parent42f0f37b88e70e01351af80856467079f405d42d (diff)
Do not install marbleQuick2 example while marbledeclarative is private
-rw-r--r--examples/cpp/marbleQuick2/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/cpp/marbleQuick2/CMakeLists.txt b/examples/cpp/marbleQuick2/CMakeLists.txt
index cb01736..fd4bab7 100644
--- a/examples/cpp/marbleQuick2/CMakeLists.txt
+++ b/examples/cpp/marbleQuick2/CMakeLists.txt
@@ -16,6 +16,11 @@ target_link_libraries( ${TARGET}
marbledeclarative
)
+# TODO: marbledeclarative is a private lib currently, not a plugin, and headers are not installed
+# so do not install this example for now
+return()
+
+
add_custom_command(TARGET ${TARGET} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different
${CMAKE_CURRENT_SOURCE_DIR}/main.qml
${CMAKE_CURRENT_BINARY_DIR}