2a156e
--- CMake/UseCopyright.cmake	2009-11-12 23:09:48.000000000 +0100
2a156e
+++ CMake/UseCopyright2.cmake	2010-02-17 13:24:09.000000000 +0100
2a156e
@@ -18,8 +18,10 @@
2a156e
   # need to raise an error if COPYRIGHT_MODULE_FILENAME is not set...
2a156e
   IF(EXISTS ${COPYRIGHT_MODULE_FILENAME} )
2a156e
     FOREACH(filename ${ARGN})
2a156e
-      FILE(READ ${filename} content)
2a156e
-      FILE(APPEND ${COPYRIGHT_MODULE_FILENAME} ${content})
2a156e
+      IF(EXISTS ${filename} )
2a156e
+         FILE(READ ${filename} content)
2a156e
+         FILE(APPEND ${COPYRIGHT_MODULE_FILENAME} ${content})
2a156e
+      ENDIF(EXISTS ${filename} )
2a156e
     ENDFOREACH(filename)
2a156e
   ENDIF(EXISTS ${COPYRIGHT_MODULE_FILENAME} )
2a156e
 ENDMACRO(APPEND_COPYRIGHT)