diff options
author | adam <adam@pkgsrc.org> | 2011-01-12 07:21:30 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-01-12 07:21:30 +0000 |
commit | dbbd187cb1ab39a370a41454b15950505f8bb03e (patch) | |
tree | f37a8a755da1664d293fc1be9cd7a9b03209cb50 | |
parent | 88093645d9d463ff293a18038db4bec7c6e5d1b2 (diff) | |
download | pkgsrc-dbbd187cb1ab39a370a41454b15950505f8bb03e.tar.gz |
On Mac OS X, use system OpenGL and OpenAL
-rw-r--r-- | mk/configure/cmake.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/configure/cmake.mk b/mk/configure/cmake.mk index 4bd033fa415..60a54e0a63f 100644 --- a/mk/configure/cmake.mk +++ b/mk/configure/cmake.mk @@ -1,4 +1,4 @@ -# $NetBSD: cmake.mk,v 1.7 2010/10/19 09:45:16 adam Exp $ +# $NetBSD: cmake.mk,v 1.8 2011/01/12 07:21:30 adam Exp $ # # This file handles packages that use CMake as their primary build # system. For more information about CMake, see http://www.cmake.org/. @@ -25,6 +25,8 @@ CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=TRUE .else CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=FALSE CMAKE_ARGS+= -DCMAKE_INSTALL_NAME_DIR:PATH=${PREFIX}/lib +CMAKE_ARGS+= -DOPENAL_INCLUDE_DIR:PATH=/System/Library/Frameworks/OpenAL.framework/Headers +CMAKE_ARGS+= -DOPENGL_INCLUDE_DIR:PATH=/System/Library/Frameworks/OpenGL.framework/Headers .endif CMAKE_MODULE_PATH_OVERRIDE+= CMakeLists.txt |