From 95fdb53685005d7cee56b0e13573b50127c28603 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Wed, 14 Sep 2022 18:14:35 +0200 Subject: [PATCH] special clang flag not needed anymore (fixed in pybind) --- libsrc/core/CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libsrc/core/CMakeLists.txt b/libsrc/core/CMakeLists.txt index ee89b4f6..2c285211 100644 --- a/libsrc/core/CMakeLists.txt +++ b/libsrc/core/CMakeLists.txt @@ -16,10 +16,6 @@ add_library(ngcore ${NGCORE_LIBRARY_TYPE} target_compile_options(ngcore PUBLIC "${NG_COMPILE_FLAGS}") -# Pybind11 2.3 Issue https://github.com/pybind/pybind11/issues/1604 -if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang") - target_compile_options(ngcore PUBLIC -fsized-deallocation -faligned-allocation) -endif() if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9) target_link_libraries(ngcore PUBLIC stdc++fs) endif()