Fix FTBFS for build without cppunit

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1b4f3fa556)
r14.0.x r14.0.5
Slávek Banko 6 years ago
parent 1ca87083cd
commit 32f722f41a

@ -157,7 +157,6 @@ uninstall-hook:
dist-hook:
-rm -rf $(distdir)/kmymoneysettings.cpp
if CPPUNIT
TESTS = kmymoneytest
check_PROGRAMS = kmymoneytest
@ -167,5 +166,3 @@ kmymoneytest_LDADD = ./mymoney/storage/libstoragetest.a ./mymoney/libmymoneytest
# the library search path.
kmymoneytest_LDFLAGS = $(all_libraries) $(kde_RPATH) $(CPPUNIT_LIBS) $(LIB_TDEUTILS)
endif

@ -15,10 +15,6 @@ inst_HEADERS = mymoneytemplate.h
noinst_HEADERS = imymoneyreader.h mymoneyqifprofile.h mymoneyqifreader.h mymoneyqifwriter.h mymoneystatementreader.h webpricequote.h mymoneygncreader.h convertertest.h
if CPPUNIT
check_LIBRARIES = libconvertertest.a
libconvertertest_a_SOURCES = convertertest.cpp
endif

@ -42,9 +42,6 @@ inst_HEADERS = mymoneyobject.h mymoneyaccount.h mymoneycategory.h mymoneyexcepti
noinst_HEADERS = autotest.h mymoneyaccounttest.h mymoneyfinancialcalculatortest.h mymoneykeyvaluecontainertest.h mymoneyexceptiontest.h mymoneyfiletest.h mymoneyinstitutiontest.h mymoneymoneytest.h mymoneyobservertest.h mymoneyscheduletest.h mymoneysplittest.h mymoneysecuritytest.h mymoneytransactiontest.h mymoneypricetest.h mymoneyobjecttest.h mymoneyforecasttest.h mymoneypayeetest.h
if CPPUNIT
check_LIBRARIES = libmymoneytest.a
libmymoneytest_a_SOURCES = mymoneytransactiontest.cpp mymoneysplittest.cpp mymoneymoneytest.cpp mymoneyfiletest.cpp mymoneyaccounttest.cpp mymoneyexceptiontest.cpp mymoneyinstitutiontest.cpp mymoneykeyvaluecontainertest.cpp mymoneyscheduletest.cpp mymoneyfinancialcalculatortest.cpp mymoneysecuritytest.cpp mymoneypricetest.cpp mymoneyobjecttest.cpp mymoneyforecasttest.cpp mymoneypayeetest.cpp
endif

@ -12,9 +12,6 @@ inst_HEADERS = imymoneystorage.h imymoneyserialize.h imymoneystorageformat.h
noinst_HEADERS = mymoneyseqaccessmgr.h mymoneydatabasemgr.h mymoneystorageanon.h mymoneystoragedump.h mymoneystoragexml.h mymoneyseqaccessmgrtest.h mymoneydatabasemgrtest.h mymoneystoragesql.h mymoneystoragebin.h mymoneymap.h mymoneymaptest.h
if CPPUNIT
check_LIBRARIES = libstoragetest.a
libstoragetest_a_SOURCES = mymoneyseqaccessmgrtest.cpp mymoneymaptest.cpp mymoneydatabasemgrtest.cpp
endif

@ -9,8 +9,6 @@ libreports_a_SOURCES = pivotgrid.cpp pivottable.cpp listtable.cpp querytable.cpp
noinst_HEADERS = kreportchartview.h kreportsviewtest.h pivotgrid.h pivottable.h pivottabletest.h pivotgridtest.h listtable.h querytable.h querytabletest.h objectinfotable.h reportaccount.h reportdebug.h reportstestcommon.h kreportchartview.h reporttable.h
if CPPUNIT
check_LIBRARIES = libreportstest.a
libreportstest_a_SOURCES = reportstestcommon.cpp pivottabletest.cpp pivotgridtest.cpp querytabletest.cpp
endif

Loading…
Cancel
Save