Commit 990a0cff authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner

[trac931] Disable warning on one needed file

parent 54f86d77
......@@ -16,8 +16,14 @@ libfake_session_la_SOURCES = fake_session.h fake_session.cc
TESTS =
if HAVE_GTEST
# We build this file with disabled warnings because of asio
lib_LTLIBRARIES += libasiobased.la
libasiobased_la_SOURCES = ccsession_unittests.cc
libasiobased_la_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES) -Wno-unused-parameter
libasiobased_la_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
TESTS += run_unittests
run_unittests_SOURCES = ccsession_unittests.cc module_spec_unittests.cc config_data_unittests.cc run_unittests.cc
run_unittests_SOURCES = module_spec_unittests.cc config_data_unittests.cc run_unittests.cc
run_unittests_CPPFLAGS = $(AM_CPPFLAGS) $(GTEST_INCLUDES)
run_unittests_LDFLAGS = $(AM_LDFLAGS) $(GTEST_LDFLAGS)
......@@ -26,6 +32,7 @@ run_unittests_LDADD += $(top_builddir)/src/lib/cc/libcc.la
run_unittests_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
run_unittests_LDADD += $(top_builddir)/src/lib/log/liblog.la
run_unittests_LDADD += libfake_session.la
run_unittests_LDADD += libasiobased.la
run_unittests_LDADD += $(top_builddir)/src/lib/config/libcfgclient.la
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment