Browse Source

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

master
Ray Burgemeestre 2 years ago
parent
commit
b368cc23b7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      fmt/Makefile

+ 2
- 2
fmt/Makefile View File

@@ -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


Loading…
Cancel
Save