Expand signatures for nblib listed forces calculator
[alexxy/gromacs.git] / api / nblib / listed_forces / CMakeLists.txt
index c4e8f33e631a007a91ece92f5c86efcd1e360a30..67f6b35ffd728ea8749a82f16b1eb14fb346b42e 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2020, by the GROMACS development team, led by
+# Copyright (c) 2020,2021, 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.
 # \author Sebastian Keller <keller@cscs.ch>
 #
 
+target_sources(nblib
+        PRIVATE
+        calculator.cpp
+        transformations.cpp
+        )
+
 if(GMX_INSTALL_NBLIB_API)
     install(FILES
             bondtypes.h
             calculator.h
             definitions.h
-            DESTINATION include/nblib)
+            DESTINATION include/nblib/listed_forces)
 endif()
 
 if(BUILD_TESTING)