Install libocsync to lib/ without subfolder.
authorDominik Schmidt <dev@dominik-schmidt.de>
Thu, 14 Jun 2018 19:49:07 +0000 (21:49 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:57:56 +0000 (10:57 +0100)
commitaad928a6befa13753911bd357d26191d978e1539
tree4c6bf506eeaeae8ad5fb3a079e9344765f335265
parent919debccfcbe141c3bee5c64ca2502a5cd0c5866
Install libocsync to lib/ without subfolder.

Installing to lib/${APPLICATION_EXECUTABLE} has caused a bunch of
irritations in the past and subtle annoying to fix bugs. To avoid name
clashes with branded clients ${APPLICATION_EXECUTABLE} becomes now
part of the filename instead of the subfolder.

The concrete motivation to change this now is that on Windows there
is no RPATH and it's not possible to run owncloud directly from the
Craft Root folder, which is nice when you're developing on Windows.

It would have been possible to change this just for Windows but as
written earlier this has caused lots of issues and thus I think it's
a good idea to just stay consistent accross platforms when touching it.
cmake/modules/NSIS.template.in
src/cmd/CMakeLists.txt
src/crashreporter/CMakeLists.txt
src/csync/CMakeLists.txt
src/gui/CMakeLists.txt
src/libsync/CMakeLists.txt
test/csync/CMakeLists.txt