From 920d250b7bedb2bbef4321957ff7ce43b0552432 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Mon, 13 Jan 2020 17:06:03 -0700 Subject: [PATCH] cmake: install pbc.h for GMX_INSTALL_LEGACY_API This was introduced in 97c751f1945702316b6342f4054da20dd5239872. Change-Id: I1ecb0c10d0df9285bed7bef112d4cd439b262ce6 --- src/gromacs/pbcutil/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/gromacs/pbcutil/CMakeLists.txt b/src/gromacs/pbcutil/CMakeLists.txt index d182833041..63a5dacfcb 100644 --- a/src/gromacs/pbcutil/CMakeLists.txt +++ b/src/gromacs/pbcutil/CMakeLists.txt @@ -1,7 +1,7 @@ # # This file is part of the GROMACS molecular simulation package. # -# Copyright (c) 2014,2015,2019, by the GROMACS development team, led by +# Copyright (c) 2014,2015,2019,2020, 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. @@ -35,6 +35,12 @@ file(GLOB PBCUTIL_SOURCES *.cpp) set(LIBGROMACS_SOURCES ${LIBGROMACS_SOURCES} ${PBCUTIL_SOURCES} PARENT_SCOPE) +if(GMX_INSTALL_LEGACY_API) + install(FILES + pbc.h + DESTINATION include/gromacs/pbcutil) +endif() + if (BUILD_TESTING) add_subdirectory(tests) endif() -- 2.11.4.GIT