summaryrefslogtreecommitdiff
path: root/openscad.pro
diff options
context:
space:
mode:
authorMarius Kintel <marius@kintel.net>2014-01-04 23:03:33 (GMT)
committerMarius Kintel <marius@kintel.net>2014-01-04 23:03:33 (GMT)
commit62b9746ab1207ede256797353bb5f6777c73f638 (patch)
tree33ae627cc9a79ead388bd543d83e791d5d7eade9 /openscad.pro
parente3f416db27338e1656dc266470cbb9de48ddd11f (diff)
Mac fixes: Moved sparkle config to sparkle.pri. Link with ApplicationServices
Diffstat (limited to 'openscad.pro')
-rw-r--r--openscad.pro8
1 files changed, 3 insertions, 5 deletions
diff --git a/openscad.pro b/openscad.pro
index 20dc299..913a5d3 100644
--- a/openscad.pro
+++ b/openscad.pro
@@ -61,10 +61,8 @@ deploy {
message("Building deployment version")
DEFINES += OPENSCAD_DEPLOY
macx {
- CONFIG += x86 x86_64
- LIBS += -framework Sparkle
- HEADERS += src/SparkleAutoUpdater.h
- OBJECTIVE_SOURCES += src/SparkleAutoUpdater.mm
+ CONFIG += x86_64
+ CONFIG += sparkle
}
}
@@ -75,7 +73,7 @@ macx {
APP_RESOURCES.path = Contents/Resources
APP_RESOURCES.files = OpenSCAD.sdef dsa_pub.pem icons/SCAD.icns
QMAKE_BUNDLE_DATA += APP_RESOURCES
- LIBS += -framework Cocoa
+ LIBS += -framework Cocoa -framework ApplicationServices
# FIXME: Somehow, setting the deployment target to a lower version causes a
# seldom crash in debug mode (e.g. the minkowski2-test):
contact: Jan Huwald // Impressum