From d555fbb8535fc65dd5573112ed4036b81353de43 Mon Sep 17 00:00:00 2001 From: Alvin Moore Date: Wed, 15 Apr 2020 09:07:12 -0700 Subject: [PATCH] Changed the get to only get the dependencies --- bindings/go/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/go/CMakeLists.txt b/bindings/go/CMakeLists.txt index bcae44440f..701fa49ca8 100644 --- a/bindings/go/CMakeLists.txt +++ b/bindings/go/CMakeLists.txt @@ -99,7 +99,7 @@ function(build_go_package) endif() add_custom_command(OUTPUT ${outfile} COMMAND ${CMAKE_COMMAND} -E env ${go_env} - ${GO_EXECUTABLE} get ${GO_IMPORT_PATH}/${BGP_PATH} && + ${GO_EXECUTABLE} get -d ${GO_IMPORT_PATH}/${BGP_PATH} && ${CMAKE_COMMAND} -E env ${go_env} ${GO_EXECUTABLE} install ${GO_IMPORT_PATH}/${BGP_PATH} DEPENDS ${fdb_options_file}