Skip to content

Commit

Permalink
Added libs for Mac OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamrow committed Feb 14, 2014
1 parent 47b0aca commit c5056b1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
8 changes: 8 additions & 0 deletions libomf/libomf.pro
Expand Up @@ -9,3 +9,11 @@ HEADERS = OMFImport.h \
SOURCES = OMFImport.cpp \
OMFHeader.cpp


macx: {
message("Running on Mac OSX:")
LIBS += -L/usr/local/opt/qt5/lib \
-L/usr/local/Cellar/boost/1.55.0/lib
INCLUDEPATH += /usr/local/opt/qt5/include \
/usr/local/Cellar/boost/1.55.0/include
}
15 changes: 9 additions & 6 deletions muview.pro
Expand Up @@ -18,8 +18,8 @@ linux {
message("Ubuntu type distribution found:")
message(" will install muview.desktop to /usr/share/applications")
message(" will install icons to /usr/share/icons/hicolor/")
desktopfile.path = /usr/share/applications
desktopfile.files += resources/muview.desktop
desktopfile.path = /usr/share/applications
desktopfile.files += resources/muview.desktop
iconfile512.path = /usr/share/icons/hicolor/512x512/apps
iconfile512.files = resources/512x512/muview.png
iconfile256.path = /usr/share/icons/hicolor/256x256/apps
Expand All @@ -44,12 +44,15 @@ linux {
INSTALLS += target pixmap
}

macosx {
message(Building in Mac OS X Environment)
message(" will install muview (binary) to /Applications")
message(" with link at /usr/local/bin")
macx {
message(Building in Mac OSX Environment)
message(" will install muview (app) to /Applications")
target.path = /Applications

LIBS += -L/usr/local/Cellar/boost/1.55.0/lib
INCLUDEPATH += /usr/local/Cellar/boost/1.55.0/include \
libomf

INSTALLS += target
}

Expand Down

0 comments on commit c5056b1

Please sign in to comment.