summaryrefslogtreecommitdiffstats
path: root/storageserver/src/apps/storaged/CMakeLists.txt
blob: 10f38cf52694d7909ced0fcb82c0b6e37332fe4c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
vespa_add_executable(storageserver_storaged_app
    SOURCES
    storage.cpp
    forcelink.cpp
    OUTPUT_NAME vespa-storaged-bin
    INSTALL sbin
    DEPENDS
    storageserver_storageapp
)

install(CODE "execute_process(COMMAND ln -snf vespa-storaged-bin \$ENV{DESTDIR}/\${CMAKE_INSTALL_PREFIX}/sbin/vespa-distributord-bin)")