From 95cd15ad46844ad81bf3050772f628a2bc403dc8 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 12:54:20 +0200 Subject: [PATCH] Remove double // in some installation paths (#5111) (#5129) (#5254) Signed-off-by: eduponz (cherry picked from commit 8c477dce10c1b034816c2ce64bdbe281dfe9a0ac) # Conflicts: # CMakeLists.txt Co-authored-by: Eduardo Ponz Segrelles (cherry picked from commit 28a272918c86aceca8218815922b9825b10db1e8) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1572a36b02c..a492c953b39 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 )