Skip to content

Commit 20aa1a0

Browse files
committed
Fix incorrect $(INSTALL_DIR) shell expansion in build-without-conan.md
The nanobind cmake command used command-substitution syntax $(INSTALL_DIR) instead of variable expansion ${INSTALL_DIR}, unlike every other cmake invocation in the document. Fixes #2244
1 parent 7c1bf83 commit 20aa1a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎build-without-conan.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ tar xzvf v3.1.0.tar.gz
139139
cd nanobind-3.1.0/
140140
mkdir build
141141
cd build
142-
cmake -DCMAKE_INSTALL_PREFIX=$(INSTALL_DIR) -DNB_TEST=OFF -DNB_USE_SUBMODULE_DEPS=OFF ..
142+
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DNB_TEST=OFF -DNB_USE_SUBMODULE_DEPS=OFF ..
143143
cmake --build .
144144
cmake --install .
145145
```

0 commit comments

Comments
 (0)