Fixed non-steam build, because I broke it :D
This commit is contained in:
parent
76d78600cb
commit
412a30da0d
|
@ -150,6 +150,14 @@ else (NOT MSVC)
|
||||||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D__FNAME__=__FILE__")
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D__FNAME__=__FILE__")
|
||||||
endif (NOT MSVC)
|
endif (NOT MSVC)
|
||||||
|
|
||||||
|
if (STEAM)
|
||||||
|
set(STEAM_SOURCES
|
||||||
|
src/steam/steamworks_api_wrapper
|
||||||
|
)
|
||||||
|
else ()
|
||||||
|
set(STEAM_SOURCES "")
|
||||||
|
endif ()
|
||||||
|
|
||||||
# PROGRAMS:
|
# PROGRAMS:
|
||||||
add_executable(breakhack
|
add_executable(breakhack
|
||||||
src/main
|
src/main
|
||||||
|
@ -201,7 +209,7 @@ add_executable(breakhack
|
||||||
src/object
|
src/object
|
||||||
src/gui_util
|
src/gui_util
|
||||||
src/tooltip
|
src/tooltip
|
||||||
src/steam/steamworks_api_wrapper
|
${STEAM_SOURCES}
|
||||||
)
|
)
|
||||||
|
|
||||||
# Sqlite has some warnings that I we don't need to see
|
# Sqlite has some warnings that I we don't need to see
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
#include "steamworks_c_wrapper.h"
|
#include "steamworks_c_wrapper.h"
|
||||||
#include "../util.h"
|
#include "../util.h"
|
||||||
#include "../defines.h"
|
#include "../defines.h"
|
||||||
|
#include "../gui.h"
|
||||||
|
|
||||||
static Achievement g_Achievements[] = {
|
static Achievement g_Achievements[] = {
|
||||||
_ACH_ID(BAD_DOG, "Bad Dog"),
|
_ACH_ID(BAD_DOG, "Bad Dog"),
|
||||||
|
|
Loading…
Reference in New Issue