diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-08-16 20:31:26 (GMT) |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-08-16 20:31:26 (GMT) |
commit | 626fc717c6a6fb880053e645b3f12805f60c102a (patch) | |
tree | 45cd140bb45fc2f0585a41c074cb062e8ccdd91b /Tests/FindPackageModeMakefileTest/main.cpp | |
parent | ec6982dc8cad04c72a6ab78b7f115ece65e812bd (diff) | |
download | CMake-626fc717c6a6fb880053e645b3f12805f60c102a.zip CMake-626fc717c6a6fb880053e645b3f12805f60c102a.tar.gz CMake-626fc717c6a6fb880053e645b3f12805f60c102a.tar.bz2 |
Much improved test, should now be executed on all UNIXes
Instead of relying on that some development package is installed on the
system, now a tiny library is built, which is the searched and used
during the test.
Alex
Diffstat (limited to 'Tests/FindPackageModeMakefileTest/main.cpp')
-rw-r--r-- | Tests/FindPackageModeMakefileTest/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/FindPackageModeMakefileTest/main.cpp b/Tests/FindPackageModeMakefileTest/main.cpp index b785427..e5f9134 100644 --- a/Tests/FindPackageModeMakefileTest/main.cpp +++ b/Tests/FindPackageModeMakefileTest/main.cpp @@ -1,8 +1,8 @@ #include <stdio.h> -#include <png.h> +#include <foo.h> int main() { - printf("PNG copyright: %s\n", png_get_copyright(NULL)); + printf("foo is: %d\n", foo()); return 0; } |