diff --git a/cmake-linux/openfst.cmake b/cmake-linux/openfst.cmake index 79ce4b5..be15cea 100644 --- a/cmake-linux/openfst.cmake +++ b/cmake-linux/openfst.cmake @@ -12,7 +12,7 @@ if(TARGET gflags) endif() set(WITH_GFLAGS OFF CACHE BOOL "whether build glog with gflags" FORCE) include(glog) -execute_process(COMMAND rm -r ${openfst_BUILD}) +# 推荐手动构建这个openfst依赖,因为通过cmake构建这个库会失败。 if(NOT EXISTS ${openfst_BUILD}) # 推荐手动去构建项目,不然这些代码因为环境不兼容等原因会执行不成功 message(STATUS "${BoldGreen}Install openfst: ${GLOG_BUILD_DIR}${ColourReset}") @@ -43,7 +43,7 @@ if(NOT EXISTS ${openfst_BUILD}) endif () endif() -# gflags和glog现在被我安装到了系统盘下/usr/lib/x86_64-linux-gnu + # 下面这堆关键字是防止cmake出一堆无关的提示 if(NOT GRAPH_TOOLS)