diff --git a/externals/prebuild_scripts/build_g2o_for_mac64.sh b/externals/prebuild_scripts/build_g2o_for_mac64.sh index e60afa1a..b9206962 100755 --- a/externals/prebuild_scripts/build_g2o_for_mac64.sh +++ b/externals/prebuild_scripts/build_g2o_for_mac64.sh @@ -17,11 +17,12 @@ then echo "g2o directory doesn't exists" git clone https://github.com/RainerKuemmerle/g2o.git ../g2o fi -git checkout $VERSION echo "Building g2o using the sources in the thirdparty directory" cd ../g2o +git checkout $VERSION + # Make build folder for debug version mkdir build rm -rf $BUILD_D diff --git a/externals/prebuild_scripts/build_g2o_for_macArm64.sh b/externals/prebuild_scripts/build_g2o_for_macArm64.sh index 0b68fd63..4a007607 100755 --- a/externals/prebuild_scripts/build_g2o_for_macArm64.sh +++ b/externals/prebuild_scripts/build_g2o_for_macArm64.sh @@ -17,11 +17,12 @@ then echo "g2o directory doesn't exists" git clone https://github.com/RainerKuemmerle/g2o.git ../g2o fi -git checkout $VERSION echo "Building g2o using the sources in the thirdparty directory" cd ../g2o +git checkout $VERSION + # Make build folder for debug version mkdir build rm -rf $BUILD_D