本文主要是解决在使用 hugo 的 eureka 主题构建网站时出现的 `Error building site: POSTCSS: failed to transform "css/eureka.css" (text/css): resource "css/hugo-eureka/css/eureka.css_fc3f76d7bee2760c3a903059afc3d9b2" not found in file cache` 的错误,以及在解决过程中出现的其他问题。
方法 cmake 的构建命令增加参数 `-G “Xcode”`,例如 cmake -G Xcode .. 遇到的问题 报错找不到编译器 错误信息 -- The C compiler identification is unknown -- The CXX compiler identification is unknown CMake Error at CMakeLists.txt:2