Tools: Fuzzer: Do not use illegal BUILD_COMMAND in CMakeLists.txt

This patch removes the incorrect usage of BUILD_COMMAND. Having it set
to "cmake" caused the cmake usage help text output to be shown only and
caused the ExternalProject_Add command to believe the
libsof_tplg_parser.so was built. The build for the library happened only
because the next install step performed the compilation. With this fix
the default build command is used instead. There's no need to define
it here.

Fixes #2656

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
Seppo Ingalsuo 2020-08-27 17:13:21 +03:00 committed by Liam Girdwood
parent 4d48f868fe
commit f430addec7
1 changed files with 0 additions and 1 deletions

View File

@ -23,7 +23,6 @@ ExternalProject_Add(sof_parser_ep
BINARY_DIR "${PROJECT_BINARY_DIR}/sof_parser/build"
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${parser_install_dir}
-DCMAKE_VERBOSE_MAKEFILE=${CMAKE_VERBOSE_MAKEFILE}
BUILD_COMMAND ${CMAKE_COMMAND}
BUILD_ALWAYS 1
BUILD_BYPRODUCTS "${parser_install_dir}/lib/libsof_tplg_parser.so"
)