Skip to content

Commit

Permalink
Use directory prefix for eSpeak header
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterBowman committed Aug 16, 2024
1 parent 583011a commit b2c4080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions cmake/find-modules/FindEspeak.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@
#
# Espeak::Espeak - Espeak library (old API)

find_path(ESPEAK_INCLUDE_DIR NAMES speak_lib.h
HINTS ENV ESPEAK_DIR
PATH_SUFFIXES espeak)

find_path(ESPEAK_INCLUDE_DIR NAMES speak_lib.h)
find_library(ESPEAK_LIBRARY NAMES espeak libespeak)

include(FindPackageHandleStandardArgs)
Expand Down
2 changes: 1 addition & 1 deletion libraries/Espeak/Espeak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <yarp/os/LogStream.h>
#include <yarp/os/Value.h>

#include <speak_lib.h>
#include <espeak/speak_lib.h>

using namespace roboticslab;

Expand Down

0 comments on commit b2c4080

Please sign in to comment.