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 3fdd389
Showing 1 changed file with 4 additions and 2 deletions.
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 3fdd389

Please sign in to comment.