ソースを参照

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


読み込み中…
キャンセル
保存