From e4036ab5610fc605add9115461e4d04271834e57 Mon Sep 17 00:00:00 2001 From: Marius Kittler Date: Thu, 9 May 2019 18:01:55 +0200 Subject: [PATCH] Update to c++utilities v5 --- CMakeLists.txt | 3 ++- main.cpp | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2139332..305c6ee 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,7 +18,8 @@ set(META_VERSION_MINOR 0) set(META_VERSION_PATCH 1) # find c++utilities -find_package(c++utilities 4.12.0 REQUIRED) +set(CONFIGURATION_PACKAGE_SUFFIX "" CACHE STRING "sets the suffix for find_package() calls to packages configured via c++utilities") +find_package(c++utilities${CONFIGURATION_PACKAGE_SUFFIX} 5.0.0 REQUIRED) use_cpp_utilities() # use standard filesystem library diff --git a/main.cpp b/main.cpp index 37f529a..9c6d94c 100644 --- a/main.cpp +++ b/main.cpp @@ -2,7 +2,6 @@ #include #include -#include #include #include @@ -38,9 +37,8 @@ void addStringsFromFiles(bool enableDebugOutput, set &to, const vector