From 4d86fd0dbb6a29a233577803c5541e962d4d58ef Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 26 Feb 2023 21:07:11 +0100 Subject: Remove LIBDCP_VERSION in favour of dcp::version. The former is only set at configure which is a bit confusing, and I can't think of a reason to have both. --- tools/dcpdecryptmxf.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/dcpdecryptmxf.cc') diff --git a/tools/dcpdecryptmxf.cc b/tools/dcpdecryptmxf.cc index 4c615f99..33ba79bb 100644 --- a/tools/dcpdecryptmxf.cc +++ b/tools/dcpdecryptmxf.cc @@ -44,6 +44,7 @@ #include "mono_picture_asset.h" #include "mono_picture_asset_writer.h" #include "util.h" +#include "version.h" #include #include #include @@ -125,7 +126,7 @@ main (int argc, char* argv[]) switch (c) { case 'A': - cout << "libdcp version " << LIBDCP_VERSION << "\n"; + cout << "libdcp version " << dcp::version << "\n"; exit (EXIT_SUCCESS); case 'v': verbose = true; -- cgit v1.2.3