diff --git a/CMakeLists.txt b/CMakeLists.txt
index a6fa15bef34c28b11ecb24183860923db7eaaf4e..7cd8e0b7c2fe9debaf90acd25faa6a79b0786e82 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -191,7 +191,9 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/shadertoy-config.cmake
 # Install the examples
 install(DIRECTORY examples
 		COMPONENT shadertoy-examples
-		DESTINATION ${CMAKE_INSTALL_DATADIR}/shadertoy)
+		DESTINATION ${CMAKE_INSTALL_DATADIR}/shadertoy
+		PATTERN "build" EXCLUDE
+		PATTERN "*.dump" EXCLUDE)
 
 # Install headers
 file(GLOB SHADERTOY_HEADERS ${INCLUDE_DIR}/shadertoy/*.hpp)