depot/third_party/nixpkgs/pkgs/development/libraries/librealsense/install-presets.patch
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

13 lines
498 B
Diff

diff --git a/tools/realsense-viewer/CMakeLists.txt b/tools/realsense-viewer/CMakeLists.txt
index 44be6278f..1a4531dff 100644
--- a/tools/realsense-viewer/CMakeLists.txt
+++ b/tools/realsense-viewer/CMakeLists.txt
@@ -253,7 +253,7 @@ install(
)
#https://cmake.org/cmake/help/latest/command/install.html
install(DIRECTORY presets/
- DESTINATION $ENV{HOME}/Documents/librealsense2/presets
+ DESTINATION $ENV{out}/share/librealsense2/presets
FILES_MATCHING PATTERN "*.preset"
)
endif()