Fixed CMake 2.8.12+ CUDA dylib bugs and warnings on OS X
[alexxy/gromacs.git] / src / gmxlib / gpu_utils / dummy.cpp
index 7e9fa44d2ef86d3b5d0484d332837fec271f3a56..42d4303e5374eae37a8a3934bf8c3db99221a22a 100644 (file)
@@ -1,3 +1,6 @@
 /* This source file has the sole purpose to force C++ linking of the gpu_utils
  * static archive, otherwise the exception handling code generated inside
  * memtestG80 will cause undefined symbols at linking. */
+
+/* Avoid warnings about empty object files */
+int gpu_utils_dummy;