--- examples/kml/CMakeLists.txt.orig	2015-12-21 17:23:05 UTC
+++ examples/kml/CMakeLists.txt
@@ -2,5 +2,5 @@ if(INSTALL_EXAMPLES)
   file(GLOB kml_files "${CMAKE_CURRENT_SOURCE_DIR}/*.kml")
   install(
     FILES ${kml_files}
-    DESTINATION examples/kml)
+    DESTINATION ${KML_EXAMPLES_DIR}/kml)
 endif()
