From 3b257a448a3e047742dcc32d0f52e1b7788f8e3b Mon Sep 17 00:00:00 2001 From: Christopher Lackner Date: Fri, 9 Aug 2019 13:14:38 +0200 Subject: [PATCH] upgrade pybind11 to v2.3 --- CMakeLists.txt | 3 +++ external_dependencies/pybind11 | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e599d3e..44cfd595 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,6 +36,9 @@ set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +# Pybind11 2.3 Issue https://github.com/pybind/pybind11/issues/1604 +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsized-deallocation") + if(APPLE) set(INSTALL_DIR_DEFAULT /Applications/Netgen.app) else(APPLE) diff --git a/external_dependencies/pybind11 b/external_dependencies/pybind11 index 2a150736..a1b71df1 160000 --- a/external_dependencies/pybind11 +++ b/external_dependencies/pybind11 @@ -1 +1 @@ -Subproject commit 2a150736601bb3113877bb673fb934bb60d46ec5 +Subproject commit a1b71df137e015d44f7e31f7b6d4807253fb7871