From b57f6d9b302bbc6f6c5e9b120cf18ba1c893459a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Tue, 15 Aug 2023 23:44:14 -0400 Subject: [PATCH] dynamic loaded library crashes currently on macOS --- tools/lammps-gui/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/lammps-gui/CMakeLists.txt b/tools/lammps-gui/CMakeLists.txt index d807547a2f..28169adf36 100644 --- a/tools/lammps-gui/CMakeLists.txt +++ b/tools/lammps-gui/CMakeLists.txt @@ -53,6 +53,9 @@ endif() set(LAMMPS_PLUGINLIB_DIR ${LAMMPS_DIR}/examples/COUPLE/plugin) if(LAMMPS_GUI_USE_PLUGIN) + if(APPLE) + message(FATAL_ERROR "Dynamic loading of the LAMMPS library currently not supported on this platform") + endif() enable_language(C) set(PLUGIN_LOADER_SRC ${LAMMPS_PLUGINLIB_DIR}/liblammpsplugin.c) endif()