Skip to content

Commit 1b7220f

Browse files
committed
update readme
1 parent 70bec27 commit 1b7220f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Emscripten-build-instructions.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,10 @@ mkdir build
125125
cd build
126126
emcmake cmake \
127127
-DCMAKE_BUILD_TYPE=Release \
128+
-DCMAKE_PREFIX_PATH=$PREFIX \
128129
-DCMAKE_INSTALL_PREFIX=$PREFIX \
129130
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
130-
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=$PREFIX \
131+
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
131132
-DCppInterOp_DIR="$CPPINTEROP_BUILD_DIR/lib/cmake/CppInterOp" \
132133
-DSYSROOT_PATH=$SYSROOT_PATH \
133134
..

docs/Emscripten-build-instructions.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@ build folder, you can build the wasm version of xeus-cpp by executing
145145
cd build
146146
emcmake cmake \
147147
-DCMAKE_BUILD_TYPE=Release \
148+
-DCMAKE_PREFIX_PATH=$PREFIX \
148149
-DCMAKE_INSTALL_PREFIX=$PREFIX \
149150
-DXEUS_CPP_EMSCRIPTEN_WASM_BUILD=ON \
150-
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=$PREFIX \
151+
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON \
151152
-DCppInterOp_DIR="$CPPINTEROP_BUILD_DIR/lib/cmake/CppInterOp" \
152153
-DSYSROOT_PATH=$SYSROOT_PATH \
153154
..

0 commit comments

Comments
 (0)