From 745e63a52f9fdabf7cc7e024a3af4db52f587f9f Mon Sep 17 00:00:00 2001 From: Vinyl Darkscratch Date: Tue, 2 Oct 2018 20:58:45 -0700 Subject: [PATCH] Fix achievements on macOS (require Steam on release version) --- mkxp.pro | 8 ++------ steamshim_parent/Makefile | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/mkxp.pro b/mkxp.pro index 6f8211f..c4d52d3 100644 --- a/mkxp.pro +++ b/mkxp.pro @@ -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 } diff --git a/steamshim_parent/Makefile b/steamshim_parent/Makefile index 107008f..7800230 100644 --- a/steamshim_parent/Makefile +++ b/steamshim_parent/Makefile @@ -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