#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2013, by the GROMACS development team, led by
+# Copyright (c) 2013,2014, by the GROMACS development team, led by
# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
# and including many others, as listed in the AUTHORS file in the
# top-level source directory and at http://www.gromacs.org.
message(STATUS "Using default library suffix: \"${GMX_LIBS_SUFFIX}\"")
endif()
else()
+ if ("${GMX_LIBS_SUFFIX}" MATCHES "^_mdrun")
+ message(FATAL_ERROR "Library suffix (GMX_LIBS_SUFFIX) cannot start with '_mdrun', as that is reserved for internal use")
+ endif()
gmx_check_if_changed(SUFFIXES_CHANGED
GMX_DEFAULT_SUFFIX GMX_BINARY_SUFFIX GMX_LIBS_SUFFIX)
if (SUFFIXES_CHANGED)
if (GMX_BUILD_MDRUN_ONLY)
set(GMX_LIBS_SUFFIX "_mdrun${GMX_LIBS_SUFFIX}")
-endif ()
+endif()