diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-06 16:12:59 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-10-06 16:12:59 (GMT) |
commit | 9ed93397fbe57a09e2a510b45331fa925a392bf8 (patch) | |
tree | 6e0960bd96eca344d168bd6c1444e968e24b73de /Tests/COnly/conly.c | |
parent | 1ba0a050395fda65718da8e62a896ea788dec8e4 (diff) | |
download | CMake-9ed93397fbe57a09e2a510b45331fa925a392bf8.zip CMake-9ed93397fbe57a09e2a510b45331fa925a392bf8.tar.gz CMake-9ed93397fbe57a09e2a510b45331fa925a392bf8.tar.bz2 |
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 1482f27..3f720ef 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; } |