Skip to content
Snippets Groups Projects
Commit b5b4cb3b authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

CMake rm trailing slashes from destination variables

parent 8a28c6c2
No related branches found
No related tags found
1 merge request!2528rm unnecessary trailing slashes from CMake variables (#946)
Pipeline #140994 passed
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment