Skip to content

Commit

Permalink
Add presets to CMake install rule to be properly installed
Browse files Browse the repository at this point in the history
  • Loading branch information
ev-mp committed Jul 22, 2021
1 parent 0be02d5 commit f066e98
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tools/realsense-viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -238,11 +238,12 @@ set_target_properties (realsense-viewer PROPERTIES
target_include_directories(realsense-viewer PRIVATE ../../src)

install(
TARGETS

realsense-viewer

RUNTIME DESTINATION
${CMAKE_INSTALL_BINDIR}
TARGETS realsense-viewer
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
#https://cmake.org/cmake/help/latest/command/install.html
install(DIRECTORY presets/
DESTINATION $ENV{HOME}/Documents/librealsense2/presets
FILES_MATCHING PATTERN "*.preset"
)
endif()

0 comments on commit f066e98

Please sign in to comment.