if(DEFINED IE_PATH_TO_DEPS)
if (WIN32 AND X86_64)
RESOLVE_DEPENDENCY(SPEECH_LIBS_AND_DEMOS
- ARCHIVE_WIN "speech_demo_1.0.0.740_windows.zip"
+ ARCHIVE_WIN "speech_demo_1.0.0.746_windows.zip"
VERSION_REGEX ".*_([0-9]+.[0-9]+.[0-9]+.[0-9]+).*"
- TARGET_PATH "${TEMP}/speech_demo_1.0.0.740")
+ TARGET_PATH "${TEMP}/speech_demo_1.0.0.746")
debug_message(STATUS "speech_libs_and_demos=" ${SPEECH_LIBS_AND_DEMOS})
elseif (LINUX AND X86_64)
- RESOLVE_DEPENDENCY(SPEECH_LIBS_AND_DEMOS
- ARCHIVE_LIN "speech_demo_1.0.0.740_linux.tgz"
+ if (${LINUX_OS_NAME} STREQUAL "CentOS 7" OR CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.9")
+ RESOLVE_DEPENDENCY(SPEECH_LIBS_AND_DEMOS
+ ARCHIVE_LIN "speech_demo_1.0.0.746_centos.tgz"
VERSION_REGEX ".*_([0-9]+.[0-9]+.[0-9]+.[0-9]+).*"
- TARGET_PATH "${TEMP}/speech_demo_1.0.0.740")
- debug_message(STATUS "speech_libs_and_demos=" ${SPEECH_LIBS_AND_DEMOS})
+ TARGET_PATH "${TEMP}/speech_demo_1.0.0.746")
+ debug_message(STATUS "speech_libs_and_demos=" ${SPEECH_LIBS_AND_DEMOS})
+ else()
+ RESOLVE_DEPENDENCY(SPEECH_LIBS_AND_DEMOS
+ ARCHIVE_LIN "speech_demo_1.0.0.746_linux.tgz"
+ VERSION_REGEX ".*_([0-9]+.[0-9]+.[0-9]+.[0-9]+).*"
+ TARGET_PATH "${TEMP}/speech_demo_1.0.0.746")
+ debug_message(STATUS "speech_libs_and_demos=" ${SPEECH_LIBS_AND_DEMOS})
+ endif()
else()
message(FATAL_ERROR "Speech Demo is not available on current platform")
endif()