#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2013,2014, by the GROMACS development team, led by
+# Copyright (c) 2013,2014,2015, 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.
# To help us fund GROMACS development, we humbly ask that you cite
# the research papers on the package. Check out http://www.gromacs.org.
-if(GMX_USE_TNG)
- gmx_add_unit_test(FileIOTests fileio-test
- tngio.cpp)
+set(test_sources
+ confio.cpp
+ )
+if (GMX_USE_TNG)
+ list(APPEND test_sources tngio.cpp)
endif()
+gmx_add_unit_test(FileIOTests fileio-test ${test_sources})