Skip to content

Commit

Permalink
Fixed CMakeLists for aux_modules/speechProcessing
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Landini <ettore.landini@iit.it>
  • Loading branch information
elandini84 committed Jul 17, 2024
1 parent ff23abd commit 7a73ada
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ if(BASE_INCOHERENT_TO_FAULT)
add_definitions(-DBASE_INCOHERENT_TO_FAULT=1)
endif()

option(WAKE_WORD "if enabled, the wakeWordDetection will be compiled" OFF)

if(${BTState})
# BehaviorTree.CPP links Boost::coroutine, but does not look for it
Expand Down
4 changes: 1 addition & 3 deletions aux_modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ add_subdirectory(headSynchronizer)
add_subdirectory(googleLogger)
add_subdirectory(tourManager)
add_subdirectory(eyeContactManager)
if(0)
add_subdirectory(speechProcessing)
endif()
add_subdirectory(speechProcessing)
if(${OPENCV_ON})
add_subdirectory(headObstaclesScanner)
add_subdirectory(faceExpression)
Expand Down
4 changes: 3 additions & 1 deletion aux_modules/speechProcessing/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
add_subdirectory(messages)
add_subdirectory(wakeWordDetection)
if(WAKE_WORD)
add_subdirectory(wakeWordDetection)
endif()
find_package(PkgConfig REQUIRED)
pkg_check_modules(libfvad IMPORTED_TARGET libfvad)
if(${libfvad_FOUND})
Expand Down

0 comments on commit 7a73ada

Please sign in to comment.