From 2d75b7944990f1ce80b3847be1f8dff09df82dad Mon Sep 17 00:00:00 2001
From: Victor Toofic <toofics@users.noreply.github.com>
Date: 摹曛, 20 5月 2021 00:04:08 +0800
Subject: [PATCH] - use CMake PROJECT_DESCRIPTION var instead to be able to build with cmake < 3.8 (#118)

---
 src/library/LicenseReader.hpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/library/LicenseReader.hpp b/src/library/LicenseReader.hpp
index de3bfa0..854a0d6 100644
--- a/src/library/LicenseReader.hpp
+++ b/src/library/LicenseReader.hpp
@@ -24,6 +24,7 @@
 	const std::string license_signature;
 	const std::string source;
 	const std::string m_project;
+	unsigned int m_magic;
 	std::map<std::string, std::string> m_limits;
 
 	FullLicenseInfo(const std::string& source, const std::string& product, const std::string& license_signature);
@@ -55,7 +56,7 @@
 
 public:
 	LicenseReader(const LicenseLocation* licenseLocation);
-	EventRegistry readLicenses(const std::string& product, std::vector<FullLicenseInfo>& licenseInfoOut);
+	EventRegistry readLicenses(const std::string& product, std::vector<FullLicenseInfo>& licenseInfoOut) const;
 	virtual ~LicenseReader();
 };
 }  // namespace license

--
Gitblit v1.9.1