From 382cde3eb80833009b4b67016c3cb00b0a7aa216 Mon Sep 17 00:00:00 2001 From: Administrator Date: Mon, 13 May 2024 14:50:52 +0800 Subject: [PATCH] =?UTF-8?q?2024.5.10-=E5=8E=BB=E9=99=A4ITN=E7=9A=84?= =?UTF-8?q?=E4=BE=9D=E8=B5=96=E6=9E=84=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmake-linux/openfst.cmake | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmake-linux/openfst.cmake b/cmake-linux/openfst.cmake index f8646a2..406b31e 100644 --- a/cmake-linux/openfst.cmake +++ b/cmake-linux/openfst.cmake @@ -22,13 +22,15 @@ if(NOT EXISTS ${openfst_BUILD}) execute_process( COMMAND cmake -E copy_directory ${CMAKE_CURRENT_SOURCE_DIR}/patch/openfst ${LIB_BASE_DIR}/openfst-src WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - ) + RESULT_VARIABLE configure_result1) + message(STATUS "${BoldGreen}configure openfst${ColourReset}") #./configure --prefix=${openfst_SOURCE_DIR}/build --enable-static --disable-shared --with-pic execute_process( COMMAND ./configure --prefix=${openfst_BUILD} --with-pic WORKING_DIRECTORY ${openfst_ROOT} RESULT_VARIABLE configure_result) + message(FATAL_ERROR "${BoldRed}openfst项目构建不成功!${configure_result} ${configure_result1}${ColourReset}") if(configure_result) message(FATAL_ERROR "${BoldRed}openfst项目构建不成功! ${ColourReset}") endif ()