Changed the get to only get the dependencies

This commit is contained in:
Alvin Moore 2020-04-15 09:07:12 -07:00
parent ed8e5bc64f
commit d555fbb853
1 changed files with 1 additions and 1 deletions

View File

@ -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}