diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-06 12:12:59 -0400 |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-06 12:12:59 -0400 |
commit | 9ed93397fbe57a09e2a510b45331fa925a392bf8 (patch) | |
tree | 6e0960bd96eca344d168bd6c1444e968e24b73de /Tests/COnly/conly.c | |
parent | 1ba0a050395fda65718da8e62a896ea788dec8e4 (diff) | |
download | cmake-9ed93397fbe57a09e2a510b45331fa925a392bf8.tar.gz |
If you specify header file as source, it should still use C compiler and not CXX. Also fix COnly test so that it make sure that this still works...
Diffstat (limited to 'Tests/COnly/conly.c')
-rw-r--r-- | Tests/COnly/conly.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/COnly/conly.c b/Tests/COnly/conly.c index 1482f27e53..3f720ef512 100644 --- a/Tests/COnly/conly.c +++ b/Tests/COnly/conly.c @@ -1,4 +1,9 @@ +#include "foo.h" + +#include <stdio.h> + int main () { + printf("Foo: %s\n", foo); return 0; } |