anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / development / libraries / librealsense / install-presets.patch
blob347aa434532307f6ebad6f2ddf5919dcac55d276
1 diff --git a/tools/realsense-viewer/CMakeLists.txt b/tools/realsense-viewer/CMakeLists.txt
2 index 44be6278f..1a4531dff 100644
3 --- a/tools/realsense-viewer/CMakeLists.txt
4 +++ b/tools/realsense-viewer/CMakeLists.txt
5 @@ -253,7 +253,7 @@ install(
7 #https://cmake.org/cmake/help/latest/command/install.html
8 install(DIRECTORY presets/
9 - DESTINATION $ENV{HOME}/Documents/librealsense2/presets
10 + DESTINATION $ENV{out}/share/librealsense2/presets
11 FILES_MATCHING PATTERN "*.preset"
13 endif()