CMake/Tests/FindPackageModeMakefileTest/main.cpp
Alex Neundorf 626fc717c6 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
2011-08-16 22:31:26 +02:00

9 lines
95 B
C++

#include <stdio.h>
#include <foo.h>
int main()
{
printf("foo is: %d\n", foo());
return 0;
}