Changed the get to only get the dependencies
This commit is contained in:
parent
ed8e5bc64f
commit
d555fbb853
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue