summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/testCommandLineArguments.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/kwsys/testCommandLineArguments.cxx')
-rw-r--r--Source/kwsys/testCommandLineArguments.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/kwsys/testCommandLineArguments.cxx b/Source/kwsys/testCommandLineArguments.cxx
index 5ae0131..de7cf8c 100644
--- a/Source/kwsys/testCommandLineArguments.cxx
+++ b/Source/kwsys/testCommandLineArguments.cxx
@@ -12,10 +12,16 @@
=========================================================================*/
#include "kwsysPrivate.h"
-
#include KWSYS_HEADER(CommandLineArguments.hxx)
#include KWSYS_HEADER(ios/iostream)
+// Work-around CMake dependency scanning limitation. This must
+// duplicate the above list of headers.
+#if 0
+# include "CommandLineArguments.hxx.in"
+# include "kwsys_ios_iostream.h.in"
+#endif
+
void* random_ptr = (void*)0x123;
int argument(const char* arg, const char* value, void* call_data)