From 8abd163823c5a2eaff96d8b088a4b3d896bf61d3 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 7 Sep 2022 12:28:20 -0400 Subject: [PATCH] odm_orthophoto rpath fix --- SuperBuild/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SuperBuild/CMakeLists.txt b/SuperBuild/CMakeLists.txt index 9fd3f450..0db9755f 100644 --- a/SuperBuild/CMakeLists.txt +++ b/SuperBuild/CMakeLists.txt @@ -245,6 +245,9 @@ externalproject_add(odm_orthophoto CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${SB_INSTALL_DIR} ${WIN32_CMAKE_ARGS} ${WIN32_GDAL_ARGS} ) +if(APPLE) + macos_fix_rpath(odm_orthophoto "${SB_INSTALL_DIR}/bin/odm_orthophoto") +endif() externalproject_add(lastools GIT_REPOSITORY https://github.com/OpenDroneMap/LAStools.git