From 6e52e7661cd35eec164077ceacf7356f92d2155f Mon Sep 17 00:00:00 2001 From: Eduardo Ponz Segrelles Date: Mon, 29 Jul 2024 11:44:56 +0200 Subject: [PATCH] Remove double // in some installation paths (#5111) Signed-off-by: eduponz (cherry picked from commit 8c477dce10c1b034816c2ce64bdbe281dfe9a0ac) # Conflicts: # CMakeLists.txt --- 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 )