diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index 014105f3b..523a405ae 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -788,14 +788,6 @@ class BuildCmd(ProjectCmdBase): parser.add_argument( "--schedule-type", help="Indicates how the build was activated" ) - parser.add_argument( - "--extra-cmake-defines", - help=( - "Input json map that contains extra cmake defines to be used " - "when compiling the current project and all its deps. " - 'e.g: \'{"CMAKE_CXX_FLAGS": "--bla"}\'' - ), - ) parser.add_argument( "--cmake-target", help=("Target for cmake build."), @@ -1326,6 +1318,14 @@ def parse_args(): action="store_true", default=False, ) + add_common_arg( + "--extra-cmake-defines", + help=( + "Input json map that contains extra cmake defines to be used " + "when compiling the current project and all its deps. " + 'e.g: \'{"CMAKE_CXX_FLAGS": "--bla"}\'' + ), + ) add_common_arg( "--allow-system-packages", help="Allow satisfying third party deps from installed system packages",