mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
Fix fractorium project file for osx
This commit is contained in:
parent
8342c97efb
commit
940c51f16a
@ -10,13 +10,17 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|||||||
|
|
||||||
TARGET = Fractorium
|
TARGET = Fractorium
|
||||||
TEMPLATE = app
|
TEMPLATE = app
|
||||||
CONFIG += precompile_header
|
!macx:CONFIG += precompile_header
|
||||||
VERSION = 0.1.4.7
|
VERSION = 0.1.4.7
|
||||||
|
|
||||||
DESTDIR = $$(HOME)/Dev/fractorium/Bin
|
DESTDIR = $$(HOME)/Dev/fractorium/Bin
|
||||||
|
|
||||||
LIBS += -L/usr/lib -lOpenCL
|
!macx:LIBS += -L/usr/lib -lOpenCL
|
||||||
LIBS += -L/usr/lib -lGL
|
macx:LIBS += -framework OpenCL
|
||||||
|
|
||||||
|
!macx:LIBS += -L/usr/lib -lGL
|
||||||
|
macx:LIBS += -framework OpenGL
|
||||||
|
|
||||||
LIBS += -L/usr/lib -ljpeg
|
LIBS += -L/usr/lib -ljpeg
|
||||||
LIBS += -L/usr/lib -lpng
|
LIBS += -L/usr/lib -lpng
|
||||||
LIBS += -L/usr/lib -ltbb
|
LIBS += -L/usr/lib -ltbb
|
||||||
@ -34,6 +38,15 @@ INCLUDEPATH += ../../../Source/EmberCL
|
|||||||
INCLUDEPATH += ../../../Source/EmberCommon
|
INCLUDEPATH += ../../../Source/EmberCommon
|
||||||
INCLUDEPATH += ../../../Source/Fractorium
|
INCLUDEPATH += ../../../Source/Fractorium
|
||||||
|
|
||||||
|
# homebrew installs into /usr/local
|
||||||
|
macx:LIBS += -L/usr/local/lib
|
||||||
|
|
||||||
|
macx:INCLUDEPATH += /usr/local/include
|
||||||
|
macx:INCLUDEPATH += ../../../Deps
|
||||||
|
|
||||||
|
macx:QMAKE_MAC_SDK = macosx10.9
|
||||||
|
macx:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_RELEASE += -O2
|
QMAKE_CXXFLAGS_RELEASE += -O2
|
||||||
QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
|
QMAKE_CXXFLAGS_RELEASE += -DNDEBUG
|
||||||
|
|
||||||
@ -68,7 +81,7 @@ QMAKE_CXXFLAGS += -D_CONSOLE
|
|||||||
|
|
||||||
QMAKE_LFLAGS_RELEASE += -s
|
QMAKE_LFLAGS_RELEASE += -s
|
||||||
|
|
||||||
PRECOMPILED_HEADER = ../../../Source/Fractorium/FractoriumPch.h
|
!macx:PRECOMPILED_HEADER = ../../../Source/Fractorium/FractoriumPch.h
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
../../../Source/Fractorium/AboutDialog.cpp \
|
../../../Source/Fractorium/AboutDialog.cpp \
|
||||||
|
Loading…
Reference in New Issue
Block a user