From 28a272918c86aceca8218815922b9825b10db1e8 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 24 Sep 2024 09:15:59 +0200 Subject: [PATCH] Remove double // in some installation paths (#5111) (#5129) Signed-off-by: eduponz (cherry picked from commit 8c477dce10c1b034816c2ce64bdbe281dfe9a0ac) # Conflicts: # CMakeLists.txt Co-authored-by: Eduardo Ponz Segrelles --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e81cbecbe4..8b7b2ca5b63 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -572,7 +572,7 @@ option(INSTALL_EXAMPLES "Install example" OFF) if(INSTALL_EXAMPLES) # Install examples install(DIRECTORY ${PROJECT_SOURCE_DIR}/examples/cpp - DESTINATION examples/ + DESTINATION examples COMPONENT examples PATTERN "examples/CMakeLists.txt" EXCLUDE ) @@ -583,7 +583,7 @@ option(INSTALL_TOOLS "Install tools" OFF) if(INSTALL_TOOLS) # Install tools install(DIRECTORY ${PROJECT_SOURCE_DIR}/tools - DESTINATION tools/ + DESTINATION tools COMPONENT tools PATTERN "tools/CMakeLists.txt" EXCLUDE )