libnest2d: fix build with gcc-12
This commit is contained in:
parent
79541d7ccc
commit
c03d36afb7
|
@ -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/)
|
||||
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue