--- examples/xsd/CMakeLists.txt.orig	2015-12-21 17:23:05 UTC
+++ examples/xsd/CMakeLists.txt
@@ -1,5 +1,5 @@
 if(INSTALL_EXAMPLES)
-  install(FILES
-    domviewer.py
-    DESTINATION examples/xsd) #compile py
+  file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc")
+  install(FILES ${eg_files} DESTINATION ${KML_EXAMPLES_DIR}/xsd)
+  install(FILES kml-aliases.txt DESTINATION ${KML_EXAMPLES_DIR}/xsd)
 endif()
