From a502ceeb8eeefba424b0960d102b2bdb15625e30 Mon Sep 17 00:00:00 2001 From: Andrews Sobral <andrewssobral@gmail.com> Date: Thu, 15 Aug 2019 15:17:29 +0200 Subject: [PATCH] downgrade cmake version, fix demos --- CMakeLists.txt | 2 +- examples/CMakeLists.txt | 2 +- examples/Demo.cpp | 2 ++ examples/Demo2.cpp | 2 ++ 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 92b2526..d2f2e8e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.10) project(bgslibrary) diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 0dc3d0a..03296d9 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.12) +cmake_minimum_required(VERSION 3.10) project(bgslibrary-examples) diff --git a/examples/Demo.cpp b/examples/Demo.cpp index 9166d48..2bfec63 100644 --- a/examples/Demo.cpp +++ b/examples/Demo.cpp @@ -1,4 +1,6 @@ #include <iostream> +#include <algorithm> +#include <iterator> #include <vector> #include <opencv2/opencv.hpp> diff --git a/examples/Demo2.cpp b/examples/Demo2.cpp index dd86704..8b4f698 100644 --- a/examples/Demo2.cpp +++ b/examples/Demo2.cpp @@ -1,4 +1,6 @@ #include <iostream> +#include <algorithm> +#include <iterator> #include <vector> #include <opencv2/opencv.hpp> -- GitLab