aboutsummaryrefslogtreecommitdiffstats
path: root/client/CMakeLists.txt
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahooinc.com>2022-09-26 12:13:45 +0200
committerTor Egge <Tor.Egge@yahooinc.com>2022-09-26 12:13:45 +0200
commit4d6cd3880d386ac7cf5c46186106ef63d12270a7 (patch)
tree8374c2da0b0bed5599a083499cd46ad6f087f8bc /client/CMakeLists.txt
parented48985f772b02dbb19ab9f1324ee65f37659b05 (diff)
Use real outputs for custom command that builds go binaries.
Diffstat (limited to 'client/CMakeLists.txt')
-rw-r--r--client/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
index 052745f6f2f..42ebb9b573c 100644
--- a/client/CMakeLists.txt
+++ b/client/CMakeLists.txt
@@ -4,12 +4,12 @@ set(GODIR ${CMAKE_CURRENT_SOURCE_DIR}/go)
file(GLOB_RECURSE GOSRCFILES ${GODIR}/*.go)
-add_custom_command(OUTPUT ${GODIR}/bin/vespa-logfmt ${GODIR}/bin/vespa-deploy
+add_custom_command(OUTPUT ${GODIR}/bin/vespa ${GODIR}/bin/script-utils
COMMAND make
DEPENDS ${GODIR}/Makefile ${GOSRCFILES}
WORKING_DIRECTORY ${GODIR})
-add_custom_target(vespalog_logfmt ALL DEPENDS ${GODIR}/bin/vespa-logfmt)
+add_custom_target(client_go_binaries ALL DEPENDS ${GODIR}/bin/vespa ${GODIR}/bin/script-utils)
install(PROGRAMS ${GODIR}/bin/script-utils DESTINATION libexec/vespa)
install_symlink(libexec/vespa/script-utils bin/vespa-logfmt)