From 615caee810a1204a3366bbfebf61c8905d335c71 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Tue, 12 Sep 2023 13:20:59 +0200 Subject: [PATCH] Do not install CMakeLists.txt in loader/register By including the installation of a whole directory in the source code for loader/register, the buildsystem is installing the CMakeLists.txt files that are included in these directories. Exclude them from the final installation by using the EXCLUDE clause in CMake. Signed-off-by: Jose Luis Rivero --- register/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/register/CMakeLists.txt b/register/CMakeLists.txt index 0b349215..43e50865 100644 --- a/register/CMakeLists.txt +++ b/register/CMakeLists.txt @@ -3,4 +3,5 @@ ign_add_component(register INTERFACE) install( DIRECTORY include/ - DESTINATION ${IGN_INCLUDE_INSTALL_DIR_FULL}) + DESTINATION ${IGN_INCLUDE_INSTALL_DIR_FULL} + PATTERN "CMakeLists.txt" EXCLUDE)