Fixed up mkxp.pro for OS X

This commit is contained in:
Mathew Velasquez 2015-11-29 16:46:22 -05:00
parent 9a8f3226fe
commit c5a6a2b081
1 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,7 @@ TARGET = Game
DEPENDPATH += src shader assets DEPENDPATH += src shader assets
INCLUDEPATH += . src INCLUDEPATH += . src
QMAKE_CXXFLAGS += -std=gnu++11 CONFIG += link_pkgconfig
QMAKE_LFLAGS += -std=gnu++11
CONFIG(release, debug|release): DEFINES += NDEBUG CONFIG(release, debug|release): DEFINES += NDEBUG
@ -43,7 +42,7 @@ contains(BINDING, NULL) {
} }
unix { unix {
CONFIG += link_pkgconfig CONFIG += c++11
PKGCONFIG += sigc++-2.0 pixman-1 zlib vorbisfile \ PKGCONFIG += sigc++-2.0 pixman-1 zlib vorbisfile \
sdl2 SDL2_image SDL2_ttf SDL_sound sdl2 SDL2_image SDL2_ttf SDL_sound
LIBS += -ldl -lphysfs LIBS += -ldl -lphysfs
@ -86,7 +85,8 @@ unix {
} }
win32 { win32 {
CONFIG += link_pkgconfig QMAKE_CXXFLAGS += -std=gnu++11
QMAKE_LFLAGS += -std=gnu++11
PKGCONFIG += sigc++-2.0 pixman-1 zlib \ PKGCONFIG += sigc++-2.0 pixman-1 zlib \
sdl2 SDL2_image SDL2_ttf openal SDL_sound vorbisfile freetype2 sdl2 SDL2_image SDL2_ttf openal SDL_sound vorbisfile freetype2
LIBS += -lphysfs -lboost_program_options-mt -lsecur32 LIBS += -lphysfs -lboost_program_options-mt -lsecur32