--- examples/hellonet/CMakeLists.txt.orig	2015-12-21 17:23:05 UTC
+++ examples/hellonet/CMakeLists.txt
@@ -78,9 +78,9 @@ if(INSTALL_EXAMPLES)
 file(GLOB eg_files "${CMAKE_CURRENT_SOURCE_DIR}/*.cc")
 install(
   FILES ${eg_files}
-  DESTINATION examples/hellonet)
+  DESTINATION ${KML_EXAMPLES_DIR}/hellonet)
 
 install(
   FILES README curlfetch.h prompt.h
-  DESTINATION examples/hellonet)
+  DESTINATION ${KML_EXAMPLES_DIR}/hellonet)
 endif()
