autotools: Exclude C4UpdateDlg.cpp from build when autoupdates are disabled

stable-5.3
Günther Brammer 2012-11-24 18:40:12 +01:00
parent e2f18d8b16
commit d72b0ac4b0
1 changed files with 6 additions and 2 deletions

View File

@ -304,8 +304,6 @@ src/gui/C4StartupPlrSelDlg.cpp \
src/gui/C4StartupPlrSelDlg.h \
src/gui/C4StartupScenSelDlg.cpp \
src/gui/C4StartupScenSelDlg.h \
src/gui/C4UpdateDlg.cpp \
src/gui/C4UpdateDlg.h \
src/gui/C4UpperBoard.cpp \
src/gui/C4UpperBoard.h \
src/landscape/C4Landscape.cpp \
@ -579,6 +577,12 @@ endif
endif
endif
if AUTOUPDATE
clonk_SOURCES += \
src/gui/C4UpdateDlg.cpp \
src/gui/C4UpdateDlg.h
endif
if LIBUPNP
clonk_SOURCES += src/network/C4Network2UPnPLinux.cpp
else