[kfilemetadata] autotests: Remove the taglib dependency, caused by a left-over include.

James D. Smith null at kde.org
Sun Dec 3 01:30:47 UTC 2017


Git commit 54f583cb3afd1f02b113300f27a61d25a3d5e9ce by James D. Smith.
Committed on 03/12/2017 at 01:30.
Pushed by smithjd into branch 'master'.

Remove the taglib dependency, caused by a left-over include.
Also reverts commit # 6c9111a9

CCMAIL: bcooksley at kde.org
CCMAIL: kde-frameworks-devel at kde.org

M  +5    -9    autotests/CMakeLists.txt
M  +0    -2    autotests/usermetadatawritertest.cpp

https://commits.kde.org/kfilemetadata/54f583cb3afd1f02b113300f27a61d25a3d5e9ce

diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt
index cb7f3b9..68f3778 100644
--- a/autotests/CMakeLists.txt
+++ b/autotests/CMakeLists.txt
@@ -152,15 +152,11 @@ ecm_add_test(${extractorcollection_SRCS}
 # UserMetaData
 #
 
-if(TAGLIB_FOUND)
-    include_directories(${TAGLIB_INCLUDES})
-
-    kde_enable_exceptions()
-    ecm_add_test(usermetadatawritertest.cpp ../src/usermetadata.cpp
-        TEST_NAME "usermetadatawritertest"
-        LINK_LIBRARIES Qt5::Test KF5::FileMetaData
-    )
-endif()
+kde_enable_exceptions()
+ecm_add_test(usermetadatawritertest.cpp ../src/usermetadata.cpp
+    TEST_NAME "usermetadatawritertest"
+    LINK_LIBRARIES Qt5::Test KF5::FileMetaData
+)
 
 #
 # TagLib
diff --git a/autotests/usermetadatawritertest.cpp b/autotests/usermetadatawritertest.cpp
index da3c448..e58c7bd 100644
--- a/autotests/usermetadatawritertest.cpp
+++ b/autotests/usermetadatawritertest.cpp
@@ -21,8 +21,6 @@
 #include "indexerextractortestsconfig.h"
 #include "usermetadata.h"
 
-#include "fileref.h"
-
 #include <QDebug>
 #include <QTest>
 #include <QDir>


More information about the Kde-frameworks-devel mailing list