diff --git a/tests/src/tagreader_test.cpp b/tests/src/tagreader_test.cpp index 7719b70d..ae8115b9 100644 --- a/tests/src/tagreader_test.cpp +++ b/tests/src/tagreader_test.cpp @@ -45,7 +45,9 @@ class TagReaderTest : public ::testing::Test { protected: static void SetUpTestCase() { // Return something from uninteresting mock functions. +#if defined(USE_TAGLIB) testing::DefaultValue::Set("foobarbaz"); +#endif } static Song ReadSongFromFile(const QString& filename) {