summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <[email protected]>2016-08-08 17:42:35 +0200
committerFriedrich W. H. Kossebau <[email protected]>2016-08-08 19:14:49 +0200
commita11bbe57d7acc05c6dc6eca1697863dc6fd23059 (patch)
tree0ce2e57c850b1d839e40fbb82b4363c2250dd2c6
parentc8da8ddc5660c097bf9b3345238ebc66e8ab78e4 (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}