From 10fc6b45625363de7eafb5559e6c7f8572dac20f Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sun, 11 Jul 2021 19:56:21 +0200 Subject: [PATCH] Fix tagreader test compile error with tagparser --- tests/src/tagreader_test.cpp | 2 ++ 1 file changed, 2 insertions(+) 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) {