summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/cmake_depends/test.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-04-03 15:15:12 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-03 17:04:57 (GMT)
commitaf924827120f39f1a7a940bc3f6bc487665145d9 (patch)
treecc0512810a6bbc3f79c5fc179ce151c20bcbaaec /Tests/RunCMake/CommandLine/cmake_depends/test.c
parente46224a7cdbcbbfce63f21096bf2b4a5f01c3c13 (diff)
downloadCMake-af924827120f39f1a7a940bc3f6bc487665145d9.zip
CMake-af924827120f39f1a7a940bc3f6bc487665145d9.tar.gz
CMake-af924827120f39f1a7a940bc3f6bc487665145d9.tar.bz2
Makefile: Tolerate a BOM while scanning source dependencies (#15493)
Otherwise an #include directive on the first line of a source file is ignored if the file contains a Byte-Order-Mark. Suggested-by: Aleksey Konovalov <konovalov.aleks@gmail.com>
Diffstat (limited to 'Tests/RunCMake/CommandLine/cmake_depends/test.c')
-rw-r--r--Tests/RunCMake/CommandLine/cmake_depends/test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/cmake_depends/test.c b/Tests/RunCMake/CommandLine/cmake_depends/test.c
new file mode 100644
index 0000000..92c056f
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/cmake_depends/test.c
@@ -0,0 +1,2 @@
+#include "test.h"
+#include "test_UTF-16LE.h"