Skip to content

Commit

Permalink
add missing build flag g2o mac
Browse files Browse the repository at this point in the history
  • Loading branch information
luc committed Jan 22, 2024
1 parent 8df9259 commit 4e46de6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions externals/prebuild_scripts/build_g2o_for_mac64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,13 @@ cd $BUILD_R

# Run cmake to configure and generate the make files
cmake \
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
-DCMAKE_INSTALL_PREFIX=install \
-DG2O_BUILD_APPS=off \
-DG2O_BUILD_EXAMPLES=off \
-DCMAKE_BUILD_TYPE=Release \
-DEIGEN3_INCLUDE_DIR=../eigen \
-DG2O_USE_OPENGL=off \
../..

# finally build it
Expand Down
1 change: 1 addition & 0 deletions externals/prebuild_scripts/build_g2o_for_macArm64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_DEBUG_POSTFIX="" \
-DEIGEN3_INCLUDE_DIR=../eigen \
-DG2O_USE_OPENGL=off \
../..

# finally build it
Expand Down

0 comments on commit 4e46de6

Please sign in to comment.