diff --git a/CMakeLists.txt b/CMakeLists.txt index 6f90154..7d581b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -280,7 +280,7 @@ if(realsense2_FOUND) endif() file(GLOB SCRIPTS_TO_INSTALL "${CMAKE_CURRENT_SOURCE_DIR}/scripts/basalt_*.json") -install(PROGRAMS SCRIPTS_TO_INSTALL DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) +install(PROGRAMS ${SCRIPTS_TO_INSTALL} DESTINATION ${CMAKE_INSTALL_PREFIX}/bin) file(GLOB CONFIG_FILES "${CMAKE_CURRENT_SOURCE_DIR}/data/*.json") install(FILES ${CONFIG_FILES}