浏览代码

Fix emscripten build (issue was with some test stuff anyways)

master
Ray Burgemeestre 2 年前
父节点
当前提交
b368cc23b7
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      fmt/Makefile

+ 2
- 2
fmt/Makefile 查看文件

@@ -12,7 +12,7 @@ impl:
apt-get update && apt-get install libz-dev -y && \
pushd fmt && \
mkdir build && pushd build && \
CXX=$$(which c++) cmake -DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=$$PWD/fmt_out .. && \
CXX=$$(which c++) cmake -DCMAKE_C_FLAGS=-fPIC -DFMT_TEST=off -DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=$$PWD/fmt_out .. && \
make -j $$(nproc) && \
make install

@@ -21,7 +21,7 @@ impl-emscripten:
apt-get update && apt-get install libz-dev -y && \
pushd fmt && \
mkdir build2 && pushd build2 && \
CXX=/emsdk/upstream/emscripten/em++ cmake -DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=$$PWD/fmt_out2 .. && \
CXX=/emsdk/upstream/emscripten/em++ cmake -DFMT_TEST=off -DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC -DCMAKE_INSTALL_PREFIX=$$PWD/fmt_out2 .. && \
make -j $$(nproc) && \
make install


正在加载...
取消
保存