Fix achievements on macOS (require Steam on release version)

This commit is contained in:
Vinyl Darkscratch 2018-10-02 20:58:45 -07:00
parent 0be474a84f
commit 745e63a52f
2 changed files with 3 additions and 7 deletions

View file

@ -9,7 +9,7 @@ INCLUDEPATH += . src
CONFIG -= qt
CONFIG += link_pkgconfig
CONFIG(release, debug|release): DEFINES += NDEBUG
CONFIG(release, debug|release): DEFINES += NDEBUG STEAM
isEmpty(BINDING) {
BINDING = MRI
@ -89,10 +89,6 @@ isEmpty(BOOST_LIB_SUFFIX) {
LIBS += -lboost_program_options$$BOOST_LIB_SUFFIX
STEAM {
DEFINES += STEAM
}
# Input
HEADERS += \
src/quadarray.h \
@ -197,7 +193,7 @@ SOURCES += \
src/screen.cpp \
src/i18n.cpp
STEAM {
CONFIG(release, debug|release): {
HEADERS += src/steam.h steamshim/steamshim_child.h
SOURCES += src/steam.cpp steamshim/steamshim_child.c
}

View file

@ -5,7 +5,7 @@ CXX ?= clang++
WINDRES ?= windres
HOST ?= linux64
FLAGS := -I$(STEAMWORKS)/public -DGAME_LAUNCH_NAME=\"$(GAME_LAUNCH_NAME)\" -Wall
DEBUG ?= 1
DEBUG ?= 0
ifeq ($(HOST),w32)
FLAGS += -L$(STEAMWORKS)/redistributable_bin