summaryrefslogblamecommitdiff
path: root/user/tellico/modern-taglib.patch
blob: 194914da8ef1fda0a23ee221df2c8b61816a9b57 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                           
Fix build with Taglib's built-in CMake module.
--- tellico-3.3.1/CMakeLists.txt.old	2020-06-01 00:57:12.000000000 +0000
+++ tellico-3.3.1/CMakeLists.txt	2021-01-28 04:48:08.457839033 +0000
@@ -128,7 +128,8 @@
     TYPE OPTIONAL)
 if(TAGLIB_FOUND)
     add_definitions(${TAGLIB_CFLAGS})
-    include_directories(${TAGLIB_INCLUDES})
+    include_directories(${Taglib_INCLUDE_DIRS})
+    set(TAGLIB_LIBRARIES ${Taglib_LIBRARIES})
 endif(TAGLIB_FOUND)
 
 find_package(Yaz 2.0)