nauxliu / opencc4php

简繁体转换 PHP 扩展
MIT License
458 stars 85 forks source link

CMakeLists.txt 错误什么情况 #61

Open luoben4040 opened 2 months ago

luoben4040 commented 2 months ago

感觉OpenCC问题挺多的。装过几次,有时候很顺利,有时候不是缺少这个依赖,就是缺少那个。

root@20240602:/tmp/OpenCC# make mkdir -p build/rel (cd build/rel; cmake \ -DBUILD_DOCUMENTATION:BOOL=ON \ -DENABLE_GTEST:BOOL=OFF \ -DENABLE_BENCHMARK:BOOL=OFF \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ ../..) CMake Error at CMakeLists.txt:26: Parse error. Expected a command name, got quoted argument with text "Use Doxygen to create the HTML based API documentation".

-- Configuring incomplete, errors occurred! See also "/tmp/OpenCC/build/rel/CMakeFiles/CMakeOutput.log". make: *** [Makefile:26: build] Error 1 root@20240602:/tmp/OpenCC#