From 306872619a413bfbfaced453e11ab024237684d2 Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Mon, 16 Apr 2018 10:42:23 -0700 Subject: [PATCH] examples: Remove double-backslash from install path This commit removes the double-backslash when installing the examples. Before: .../upm//examples/... Before: .../upm/examples/... Signed-off-by: Noel Eck --- examples/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index c179f4de..3bc7537c 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -120,7 +120,7 @@ if(BUILDEXAMPLES) # Add all examples as an install component (if building examples) install (DIRECTORY ${PROJECT_SOURCE_DIR}/examples - DESTINATION ${CMAKE_INSTALL_DATADIR}/upm/ + DESTINATION ${CMAKE_INSTALL_DATADIR}/upm COMPONENT ${CMAKE_PROJECT_NAME}-examples FILES_MATCHING PATTERN "*.c"