From 5c3728b0967dc284b98ded224376e50b6d1530c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timoth=C3=A9e=20Couble?= <timothee.couble@kitware.com>
Date: Fri, 21 Oct 2022 13:39:49 +0200
Subject: [PATCH] [fix] Fix calibration file export path for MacOS bundle

---
 Superbuild/Projects/apple/lidarview.bundle.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Superbuild/Projects/apple/lidarview.bundle.cmake b/Superbuild/Projects/apple/lidarview.bundle.cmake
index a643ec5af..b9313c31f 100644
--- a/Superbuild/Projects/apple/lidarview.bundle.cmake
+++ b/Superbuild/Projects/apple/lidarview.bundle.cmake
@@ -7,13 +7,13 @@ include(${LidarViewSuperBuild_CMAKE_DIR}/bundle/apple/LidarviewBundle.cmake)
 # LidarView-Apple Specifics
 
 # Sensor calibration files
-file(GLOB shared_files "${superbuild_install_location}/bin/${lidarview_appname}/Contents/Resources/*.csv")
+file(GLOB shared_files "${share_path}/*.csv")
 install(FILES ${shared_files}
         DESTINATION "${lidarview_appname}/Contents/Resources"
         COMPONENT superbuild)
 unset(shared_files)
 
-file(GLOB shared_files "${superbuild_install_location}/bin/${lidarview_appname}/Contents/Resources/*.xml")
+file(GLOB shared_files "${share_path}/*.xml")
 install(FILES ${shared_files}
         DESTINATION "${lidarview_appname}/Contents/Resources"
         COMPONENT superbuild)
-- 
GitLab