From 7067af47cd6d1ffd4a1257864c8a2abc2fbc4c16 Mon Sep 17 00:00:00 2001
From: James Willis <agnosticpope@gmail.com>
Date: Fri, 20 Mar 2015 15:35:38 -0700
Subject: [PATCH] Fixed MacOS compilation instructions

The actual library for marble (.dylib) are under marble-build/src/lib/marble rather than marble-build/lib as the Subsurface qmake command assumes.  Since qmake takes whatever library given to it for LIBMARBLEDEVEL and appends "lib" to it, it's just easier to create a sym-link to the lib directory for Marble rather than modifying the project file.

Failure to do this step makes qmake bomb out trying to find marble-build/lib (which doesn't exist) or causes a linking error.

Signed-off-by: James Willis <agnosticpope@gmail.com>
---
 INSTALL | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/INSTALL b/INSTALL
index 68aa41c..a004bfa 100644
--- a/INSTALL
+++ b/INSTALL
@@ -169,6 +169,8 @@ $ cmake -DCMAKE_BUILD_TYPE=Debug -DQTONLY=TRUE \
 $ cd src/lib/marble
 $ make -j4
 $ make install
+$ cd ../../..
+$ ln -s src/lib/marble lib
 
 5) Install Libdivecomputer
 
-- 
1.9.5 (Apple Git-50.3)

