Skip to content

Commit

Permalink
Fix Boost install
Browse files Browse the repository at this point in the history
  • Loading branch information
sarlinpe committed Dec 15, 2023
1 parent 8463802 commit fc5c31d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package/build-colmap-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ cd colmap
git checkout c0355417328f3706a30a9265fd52bc7a5aa4cb8c
mkdir build
cd build
cmake .. -DGUI_ENABLED=OFF -DCUDA_ENABLED=OFF -DCGAL_ENABLED=OFF -DBoost_USE_STATIC_LIBS=ON -DBOOSTROOT=${BOOST_DIR} -DBoost_NO_SYSTEM_PATHS=ON
cmake .. -DGUI_ENABLED=OFF -DCUDA_ENABLED=OFF -DCGAL_ENABLED=OFF -DBoost_USE_STATIC_LIBS=OFF -DBOOSTROOT=${BOOST_DIR} -DBoost_NO_SYSTEM_PATHS=ON
make -j ${NUM_LOGICAL_CPUS} install
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,7 @@ config-settings = "cmake.define.EIGEN3_INCLUDE_DIRS=eigen"

[tool.cibuildwheel.macos]
before-all = "./package/build-colmap-macos.sh"
config-settings = {
"cmake.define.BOOSTROOT" = "boost_install",
"cmake.define.Boost_NO_SYSTEM_PATHS" = "ON",
}

0 comments on commit fc5c31d

Please sign in to comment.