diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-08-14 17:13:36 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-08-14 17:13:36 +0400 |
commit | c32fce07051572460070fb36ce85519565899c92 (patch) | |
tree | 76755649dad4e4c92276d794a7bdffd21af21f9e /extern | |
parent | 08f0938434598b23d0dd1879f598e342a194cb63 (diff) |
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.
Diffstat (limited to 'extern')
-rw-r--r-- | extern/glew/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extern/glew/CMakeLists.txt b/extern/glew/CMakeLists.txt index 53ef014927c..eea34488e17 100644 --- a/extern/glew/CMakeLists.txt +++ b/extern/glew/CMakeLists.txt @@ -26,8 +26,13 @@ SET(INC include src) +IF(UNIX) + SET(INC ${INC} ${X11_X11_INCLUDE_PATH}) +ENDIF(UNIX) + SET(SRC src/glew.c ) BLENDERLIB(extern_glew "${SRC}" "${INC}") + |