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/locate/LocatorStrategy.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/locate/LocatorStrategy.cpp b/src/library/locate/LocatorStrategy.cpp index 8bde5f1..04c722d 100644 --- a/src/library/locate/LocatorStrategy.cpp +++ b/src/library/locate/LocatorStrategy.cpp @@ -7,15 +7,15 @@ #include <licensecc_properties.h> -#include "../base/FileUtils.hpp" #include "LocatorStrategy.hpp" +#include "../base/file_utils.hpp" namespace license { namespace locate { using namespace std; const string LocatorStrategy::retrieve_license_content(const string &licenseLocation) const { - return get_file_contents(licenseLocation.c_str(), MAX_LICENSE_LENGTH); + return get_file_contents(licenseLocation.c_str(), LCC_API_MAX_LICENSE_DATA_LENGTH); } } // namespace locate -- Gitblit v1.9.1