summaryrefslogtreecommitdiffstats
path: root/storageserver/src/apps/storaged/CMakeLists.txt
blob: 2de4398f04c8044d62cca6b3a1c9bff6c3a67349 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright 2017 Yahoo Holdings. 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
    searchlib_searchlib_uca
)

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