Skip to content

Commit

Permalink
Allow custom build dir
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed Jun 6, 2024
1 parent 66c39c4 commit 1500b40
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/build-scripts/build_pybind11.bash
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ if [[ -z $DEP_DOWNLOAD_ONLY ]]; then
time cmake -S . -B ${PYBIND11_BUILD_DIR} -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=${PYBIND11_INSTALL_DIR} \
-DPYBIND11_TEST=OFF \
-DCMAKE_MODULE_PATH=${CONAN_CMAKE_FILES} \
${PYBIND11_BUILD_OPTS} ..
time cmake --build . --config Release --target install
${PYBIND11_BUILD_OPTS}
time cmake --build ${PYBIND11_BUILD_DIR} --config Release --target install
fi

# ls -R ${PYBIND11_INSTALL_DIR}
Expand Down

0 comments on commit 1500b40

Please sign in to comment.