From d31d52cbeb6131ad59563a5761264568c46b3868 Mon Sep 17 00:00:00 2001 From: Vincent Tavernier <vincent.tavernier@inria.fr> Date: Thu, 8 Feb 2018 12:30:18 +0100 Subject: [PATCH] Add build exclude for source install --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a6fa15b..7cd8e0b 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) -- GitLab