From 397f3e478623ce5a0e978c60190dcbec71bc5b6d Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 3 Aug 2023 16:52:24 -0400 Subject: [PATCH] exceptions are always enabled and thus the check is no longer required --- tools/lammps-gui/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/lammps-gui/CMakeLists.txt b/tools/lammps-gui/CMakeLists.txt index b942b6c8b8..53bd5c68e4 100644 --- a/tools/lammps-gui/CMakeLists.txt +++ b/tools/lammps-gui/CMakeLists.txt @@ -13,9 +13,6 @@ option(LAMMPS_GUI_USE_PLUGIN "Load LAMMPS library dynamically at runtime" OFF) mark_as_advanced(LAMMPS_GUI_USE_PLUGIN) # checks -if(NOT LAMMPS_EXCEPTIONS) - message(FATAL_ERROR "Must enable LAMMPS_EXCEPTIONS for building the LAMMPS GUI") -endif() if(BUILD_MPI) message(FATAL_ERROR "Must disable BUILD_MPI for building the LAMMPS GUI") endif()