From 1a056ef330ae63e2bb8938057f6a1404c61d2340 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 (cherry picked from commit 28a272918c86aceca8218815922b9825b10db1e8) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e0572b6ac7..e5c07f55250 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -568,7 +568,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 ) @@ -579,7 +579,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 )