Added scripts to install

This commit is contained in:
Vladyslav Usenko 2019-09-12 18:52:56 +02:00
parent c3a95870df
commit 3aaa41bee8
4 changed files with 2 additions and 1 deletions

View File

@ -279,7 +279,8 @@ if(realsense2_FOUND)
ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib) ARCHIVE DESTINATION ${CMAKE_INSTALL_PREFIX}/lib)
endif() endif()
install(PROGRAMS scripts/basalt_convert_kitti_calib.py DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) file(GLOB SCRIPTS_TO_INSTALL "${CMAKE_CURRENT_SOURCE_DIR}/scripts/basalt_*.json")
install(PROGRAMS SCRIPTS_TO_INSTALL DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
file(GLOB CONFIG_FILES "${CMAKE_CURRENT_SOURCE_DIR}/data/*.json") file(GLOB CONFIG_FILES "${CMAKE_CURRENT_SOURCE_DIR}/data/*.json")
install(FILES ${CONFIG_FILES} install(FILES ${CONFIG_FILES}