diff --git a/Applications/Utils/ModelPreparation/PartitionMesh/CMakeLists.txt b/Applications/Utils/ModelPreparation/PartitionMesh/CMakeLists.txt index e0888ee1d606c7fb4ccc5c8597336cadb01cd997..4f42a107bbfca93ac5418050d2750c8a5a9f5ed0 100644 --- a/Applications/Utils/ModelPreparation/PartitionMesh/CMakeLists.txt +++ b/Applications/Utils/ModelPreparation/PartitionMesh/CMakeLists.txt @@ -1,3 +1,8 @@ +if(COMPILER_IS_GCC AND CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL "5.4") + message(WARNING "gcc 5.4 segfaults when compiling partmesh!\n" + "Disabled partmesh compilation!") + return() +endif() add_executable(partmesh PartitionMesh.cpp Metis.cpp NodeWiseMeshPartitioner.cpp) set_target_properties(partmesh PROPERTIES FOLDER Utilities)