Skip to content

Commit

Permalink
Fix achievements on macOS (require Steam on release version)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Oct 3, 2018
1 parent 0be474a commit 745e63a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions mkxp.pro
Expand Up @@ -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
Expand Down Expand Up @@ -89,10 +89,6 @@ isEmpty(BOOST_LIB_SUFFIX) {

LIBS += -lboost_program_options$$BOOST_LIB_SUFFIX

STEAM {
DEFINES += STEAM
}

# Input
HEADERS += \
src/quadarray.h \
Expand Down Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion steamshim_parent/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 745e63a

Please sign in to comment.