--- Examples/CMakeLists.txt.orig	2017-10-18 10:07:09 UTC
+++ Examples/CMakeLists.txt
@@ -13,3 +13,8 @@ while (N LESS 5)
     target_link_libraries(example${N} da ${LIBOMP})
     MATH(EXPR N  "${N} + 1")
 endwhile()
+
+
+file(GLOB EXAMPLES *.c *.h)
+install(TARGETS example0 example1 example2 example3 DESTINATION ${EXAMPLESDIR})
+install(FILES ${EXAMPLES} DESTINATION ${EXAMPLESDIR})
