some fixes for netbsd with cmake

- CMake, use FIND_PACKAGE(Freetype) for unix/linux
- Only link with libdl.so on linux
- use statvfs rather then statfs for netbsd (size of statfs wasnt available)
- add x11 include path with ghost, glu.
This commit is contained in:
2009-08-14 13:13:36 +00:00
parent 08f0938434
commit c32fce0705
9 changed files with 33 additions and 28 deletions

View File

@@ -270,7 +270,7 @@ void BPY_start_python( int argc, char **argv )
void BPY_end_python( void )
{
fprintf(stderr, "Ending Python!\n");
// fprintf(stderr, "Ending Python!\n");
PyGILState_Ensure(); /* finalizing, no need to grab the state */
@@ -296,7 +296,7 @@ void BPY_end_python( void )
printf("\n");
fprintf(stderr, "Ending Python Done!\n");
// fprintf(stderr, "Ending Python Done!\n");
#endif