From 80ed0b219ac6a8091adf87b17878177b28cd3e35 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sat, 9 May 2020 17:35:27 -0400 Subject: [PATCH] Add zmonvif-trigger.pl and split into multiple lines --- scripts/CMakeLists.txt | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt index bd1885fbe..a96952a85 100644 --- a/scripts/CMakeLists.txt +++ b/scripts/CMakeLists.txt @@ -9,6 +9,7 @@ configure_file(zmcontrol.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmcontrol.pl" @ONLY) configure_file(zmdc.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmdc.pl" @ONLY) configure_file(zmfilter.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmfilter.pl" @ONLY) configure_file(zmonvif-probe.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmonvif-probe.pl" @ONLY) +configure_file(zmonvif-trigger.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmonvif-trigger.pl" @ONLY) configure_file(zmpkg.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmpkg.pl" @ONLY) configure_file(zmrecover.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmrecover.pl" @ONLY) configure_file(zmtrack.pl.in "${CMAKE_CURRENT_BINARY_DIR}/zmtrack.pl" @ONLY) @@ -36,7 +37,24 @@ FOREACH(PERLSCRIPT ${perlscripts}) ENDFOREACH(PERLSCRIPT ${perlscripts}) # Install the perl scripts -install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zmaudit.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmcontrol.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmdc.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmfilter.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmonvif-probe.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmpkg.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmrecover.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmtrack.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmtrigger.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmupdate.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmvideo.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmwatch.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmcamtool.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmtelemetry.pl" "${CMAKE_CURRENT_BINARY_DIR}/zmstats.pl" DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}" PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) +install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/zmaudit.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmcontrol.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmdc.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmfilter.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmonvif-probe.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmonvif-trigger.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmpkg.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmrecover.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmtrack.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmtrigger.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmupdate.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmvideo.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmwatch.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmcamtool.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmtelemetry.pl" + "${CMAKE_CURRENT_BINARY_DIR}/zmstats.pl" + DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}" PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) if(NOT ZM_NO_X10) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/zmx10.pl" DESTINATION "${CMAKE_INSTALL_FULL_BINDIR}" PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) endif(NOT ZM_NO_X10)