Skip to content

Commit

Permalink
Add vcpkg flags back to COLMAP
Browse files Browse the repository at this point in the history
  • Loading branch information
sarlinpe committed Dec 23, 2023
1 parent 7f0554b commit 8266ca8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
{os: ubuntu-latest},
{os: macos-12, arch: x86_64},
{os: macos-13, arch: x86_64},
#{os: macos-12, arch: arm64},
#{os: macos-13, arch: arm64},
{os: macos-12, arch: arm64},
{os: macos-13, arch: arm64},
]
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions package/install-colmap-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ git clone --branch sarlinpe/lapack-osx https://github.com/sarlinpe/vcpkg ${VCPKG

cd ${VCPKG_INSTALLATION_ROOT}
./bootstrap-vcpkg.sh
./vcpkg install --recurse --clean-after-build --triplet=${VCPKG_TARGET_TRIPLET} boost-algorithm boost-filesystem boost-graph boost-heap boost-program-options boost-property-map boost-property-tree boost-regex boost-system eigen3 flann freeimage metis gflags glog gtest sqlite3 ceres[lapack,suitesparse]
./vcpkg install --recurse --clean-after-build --triplet=${VCPKG_TARGET_TRIPLET} boost-algorithm boost-filesystem boost-graph boost-heap boost-program-options boost-property-map boost-property-tree boost-regex boost-system eigen3 flann freeimage metis gflags glog gtest sqlite3 ceres[lapack,suitesparse,tools]
./vcpkg integrate install

cd ${CURRDIR}
Expand All @@ -42,5 +42,7 @@ git checkout c0355417328f3706a30a9265fd52bc7a5aa4cb8c
mkdir build && cd build
cmake .. -DGUI_ENABLED=OFF \
-DCUDA_ENABLED=OFF \
-DCGAL_ENABLED=OFF
-DCGAL_ENABLED=OFF \
-DCMAKE_TOOLCHAIN_FILE=${VCPKG_INSTALLATION_ROOT} \
-DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET}
make -j ${NUM_LOGICAL_CPUS} install

0 comments on commit 8266ca8

Please sign in to comment.