Skip to content
Snippets Groups Projects

rm unnecessary trailing slashes from CMake variables (#946)

Merged Wuttke, Joachim requested to merge j.4 into main
1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
@@ -94,16 +94,16 @@ if(BA_APPLE_BUNDLE)
list(APPEND dstIds "bundle")
endif()
set(destination_bin ${destination_root}bin/)
set(destination_lib ${destination_root}lib/)
set(destination_bin ${destination_root}bin)
set(destination_lib ${destination_root}lib)
if(WIN32)
# on Window, the libraries must be in the same folder as the executable
set(destination_lib ${destination_bin})
endif()
set(destination_include ${destination_root}include/${destination_suffix}/)
set(destination_share ${destination_root}share/${destination_suffix}/)
set(destination_examples ${destination_share}Examples/)
set(destination_images ${destination_share}Images/)
set(destination_include ${destination_root}include/${destination_suffix})
set(destination_share ${destination_root}share/${destination_suffix})
set(destination_examples ${destination_share}/Examples)
set(destination_images ${destination_share}/Images)
set(destination_man ${destination_root}share/man/man1)
list(APPEND dstIds bin lib include share examples images man)
Loading