From c32fce07051572460070fb36ce85519565899c92 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 14 Aug 2009 13:13:36 +0000 Subject: 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. --- extern/glew/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'extern') 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}") + -- cgit v1.2.3