From 82069fccd02054caa0f2c5b65a11c4751fbe5ca7 Mon Sep 17 00:00:00 2001 From: Megidd Date: Sat, 24 Apr 2021 16:55:30 +0430 Subject: [PATCH] Avoid boost build error The error is: > error: no template named 'conditional_t' in namespace 'std'; did you mean 'conditional'? The template alias `conditional_t` is not available in C++11; it was added in C++14, as were most of the other type trait `*_t` versions. Therefore, C++14 is required to build the boost library. --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4081730..b566413 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,6 +90,11 @@ target_include_directories(libnest2d_headeronly INTERFACE $