diff --git a/srcpkgs/libnest2d/patches/boost-geometry-need-cxx-14.patch b/srcpkgs/libnest2d/patches/boost-geometry-need-cxx-14.patch new file mode 100644 index 00000000000..9de18db50ab --- /dev/null +++ b/srcpkgs/libnest2d/patches/boost-geometry-need-cxx-14.patch @@ -0,0 +1,14 @@ +Index: libnest2d-0.4/CMakeLists.txt +=================================================================== +--- libnest2d-0.4.orig/CMakeLists.txt ++++ libnest2d-0.4/CMakeLists.txt +@@ -2,9 +2,6 @@ cmake_minimum_required(VERSION 3.0) + + project(Libnest2D) + +-set(CMAKE_CXX_STANDARD 11) +-set(CMAKE_CXX_STANDARD_REQUIRED) +- + # Add our own cmake module path. + list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake_modules/) + diff --git a/srcpkgs/libnest2d/template b/srcpkgs/libnest2d/template index bb68eac3f97..62fc492badb 100644 --- a/srcpkgs/libnest2d/template +++ b/srcpkgs/libnest2d/template @@ -4,7 +4,7 @@ version=0.4 revision=1 build_style=cmake configure_args="-DBUILD_SHARED_LIBS=ON -DLIBNEST2D_HEADER_ONLY=OFF - -DLIBNEST2D_BUILD_UNITTESTS=ON -DCMAKE_CXX_STANDARD=14" + -DLIBNEST2D_BUILD_UNITTESTS=ON" makedepends="clipper-devel nlopt-devel boost-devel catch2" checkdepends="catch2" short_desc="2D irregular bin packing and nesting library"