Skip to content

Commit

Permalink
Fixed paths in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyR committed May 15, 2014
1 parent 538c22a commit 3a01bf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cerevoice_tts/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ elseif(EXISTS "/opt/cereproc/cerevoice")
elseif(EXISTS "/opt/cerevoice")
MESSAGE(STATUS "Setting location of CereVoice to /opt/cerevoice")
set(cerevoice_DIR /opt/cerevoice)
elseif(EXISTS "${PROJECT_SOURCE_DIR}/../../cerevoice_sdk")
set(cerevoice_DIR ${PROJECT_SOURCE_DIR}/../../cerevoice_sdk)
MESSAGE(STATUS "Setting location of CereVoice to ${cerevoice_DIR}")
elseif(EXISTS "${PROJECT_SOURCE_DIR}/../cerevoice_sdk")
set(cerevoice_DIR ${PROJECT_SOURCE_DIR}/../cerevoice_sdk)
MESSAGE(STATUS "Setting location of CereVoice to ${cerevoice_DIR}")
# here you can add more locations
else()
MESSAGE(SEND_ERROR "Can't find location of CereVoice! Modify the CMakeLists.txt to find your installation directory")
Expand Down

0 comments on commit 3a01bf4

Please sign in to comment.