diff options
author | Brad King <brad.king@kitware.com> | 2003-07-10 14:32:30 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-10 14:32:30 -0400 |
commit | d715fba1cb8d97d58cba912cb42359a7f7e8ff22 (patch) | |
tree | 37e597b0d9322b9e7c60f9e8a029b5603e0fef96 /Source/kwsys/EncodeExecutable.c | |
parent | b75c229444d8072fd63df2d723fb9cbec81f53f4 (diff) | |
download | cmake-d715fba1cb8d97d58cba912cb42359a7f7e8ff22.tar.gz |
ENH: Added use of KWSYS_HEADER macro in c and cxx files to include kwsys headers through their configured namespace.
Diffstat (limited to 'Source/kwsys/EncodeExecutable.c')
-rw-r--r-- | Source/kwsys/EncodeExecutable.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/EncodeExecutable.c b/Source/kwsys/EncodeExecutable.c index 2994129d01..4797d29524 100644 --- a/Source/kwsys/EncodeExecutable.c +++ b/Source/kwsys/EncodeExecutable.c @@ -50,7 +50,8 @@ int main(int argc, char* argv[]) /* Prepend header comment. */ fprintf(ofp, "/*\n * DO NOT EDIT\n * This file is generated by:\n"); fprintf(ofp, " * %s\n */\n\n", argv[0]); - fprintf(ofp, "#include <Configure.h>\n\n"); + fprintf(ofp, "#include \"kwsysPrivate.h\"\n"); + fprintf(ofp, "#include KWSYS_HEADER(Configure.h)\n\n"); fprintf(ofp, "#include <stdio.h>\n\n"); /* Split file up in 1024-byte chunks. */ |