Draft: Fix compilation
[alexxy/gromacs.git] / src / gromacs / taskassignment / CMakeLists.txt
index 9afd05e13b5e227d1f0f0c372510ff22f7c56cbd..1410e3188f997f5f9add86e081dc4ca56868c888 100644 (file)
@@ -1,7 +1,7 @@
 #
 # This file is part of the GROMACS molecular simulation package.
 #
-# Copyright (c) 2017,2019, by the GROMACS development team, led by
+# Copyright (c) 2017,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.
@@ -42,6 +42,10 @@ gmx_add_libgromacs_sources(
     usergpuids.cpp
     )
 
+if (GMX_GPU_SYCL)
+    _gmx_add_files_to_property(SYCL_SOURCES usergpuids.cpp)
+endif()
+
 if (BUILD_TESTING)
     add_subdirectory(tests)
 endif()