Skip to content

Instantly share code, notes, and snippets.

@casallas
Created December 5, 2011 23:08
Show Gist options
  • Save casallas/1435835 to your computer and use it in GitHub Desktop.
Save casallas/1435835 to your computer and use it in GitHub Desktop.
diff --git a/QGLViewer/QGLViewer.pro b/QGLViewer.pro
index 4c59357..1298d3a 100644
--- a/QGLViewer/QGLViewer.pro
+++ b/QGLViewer/QGLViewer.pro
@@ -135,11 +135,7 @@ unix {
}
isEmpty( DOC_DIR ) {
- macx|darwin-g++ {
- DOC_DIR = /Developer/Documentation/QGLViewer
- } else {
- DOC_DIR = $${PREFIX}/share/doc/QGLViewer
- }
+ DOC_DIR = $${PREFIX}/share/doc/QGLViewer
}
# GLUT for Unix architecture
@@ -246,7 +242,7 @@ macx|darwin-g++ {
FRAMEWORK_HEADERS.path = Headers
QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
- DESTDIR = /Library/Frameworks/
+ DESTDIR = $${PREFIX}/lib
#QMAKE_LFLAGS_SONAME = -Wl,-install_name,@executable_path/../Frameworks/
#QMAKE_LFLAGS_SONAME = -Wl,-install_name,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment