summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileLexer.c
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-11 20:00:21 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-11 20:35:21 (GMT)
commit1d829c862cf9d7f813f8e7e1a43f0125a4de7220 (patch)
treef467a66bb477a0467c3466096d4684dedde0c13a /Source/cmListFileLexer.c
parent26ee9e42916b15150cbd02ec9eec81825b0e4611 (diff)
downloadCMake-1d829c862cf9d7f813f8e7e1a43f0125a4de7220.zip
CMake-1d829c862cf9d7f813f8e7e1a43f0125a4de7220.tar.gz
CMake-1d829c862cf9d7f813f8e7e1a43f0125a4de7220.tar.bz2
Use quotes for non-system includes
Automate with: git grep -l '#include <cm_' -- Source \ | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g' git grep -l '#include <cmsys/' -- Source \ | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g' git grep -l '#include <cm[A-Z]' -- Source \ | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
Diffstat (limited to 'Source/cmListFileLexer.c')
-rw-r--r--Source/cmListFileLexer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileLexer.c b/Source/cmListFileLexer.c
index 44d0894..3dd3b85 100644
--- a/Source/cmListFileLexer.c
+++ b/Source/cmListFileLexer.c
@@ -558,7 +558,7 @@ Modify cmListFileLexer.c:
/* IWYU pragma: no_forward_declare yyguts_t */
#ifdef WIN32
-#include <cmsys/Encoding.h>
+#include "cmsys/Encoding.h"
#endif
/* Setup the proper cmListFileLexer_yylex declaration. */