dynamic loaded library crashes currently on macOS
This commit is contained in:
@ -53,6 +53,9 @@ endif()
|
|||||||
|
|
||||||
set(LAMMPS_PLUGINLIB_DIR ${LAMMPS_DIR}/examples/COUPLE/plugin)
|
set(LAMMPS_PLUGINLIB_DIR ${LAMMPS_DIR}/examples/COUPLE/plugin)
|
||||||
if(LAMMPS_GUI_USE_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)
|
enable_language(C)
|
||||||
set(PLUGIN_LOADER_SRC ${LAMMPS_PLUGINLIB_DIR}/liblammpsplugin.c)
|
set(PLUGIN_LOADER_SRC ${LAMMPS_PLUGINLIB_DIR}/liblammpsplugin.c)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user