mirror of https://github.com/thesofproject/sof.git
cmake: fix tools build with submodules
Tool build will fail without git submodule init and update. Add the submodlue support also in tool CMake file. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
This commit is contained in:
parent
4ce5ed477a
commit
a2de860f42
|
@ -14,6 +14,9 @@ project(SOF_TOOLS C)
|
|||
|
||||
set(SOF_ROOT_SOURCE_DIRECTORY "${PROJECT_SOURCE_DIR}/..")
|
||||
|
||||
# checkout submodules
|
||||
include(${SOF_ROOT_SOURCE_DIRECTORY}/scripts/cmake/git-submodules.cmake)
|
||||
|
||||
add_subdirectory(probes)
|
||||
add_subdirectory(logger)
|
||||
add_subdirectory(ctl)
|
||||
|
|
Loading…
Reference in New Issue