Fixed taglib to properly use pkgconfig's variable on link

This commit is contained in:
emeric
2020-11-18 09:59:32 +01:00
parent 2e7d23d435
commit a82a5df044
5 changed files with 7 additions and 96 deletions
+4 -4
View File
@@ -8,17 +8,17 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
include(CTest)
find_package(PkgConfig REQUIRED)
find_package(Filesystem REQUIRED)
find_package(FFMPEGAV REQUIRED)
find_package(Taglib REQUIRED)
find_package(Boost REQUIRED COMPONENTS system program_options)
find_package(PStreams REQUIRED)
find_package(Wt REQUIRED COMPONENTS Wt Dbo DboSqlite3 HTTP)
find_package(PAM)
find_package(STB)
pkg_check_modules(GRAPHICSMAGICKXX GraphicsMagick++)
pkg_check_modules(CONFIG++ REQUIRED IMPORTED_TARGET libconfig++)
find_package(PkgConfig REQUIRED)
pkg_check_modules(Taglib REQUIRED IMPORTED_TARGET taglib)
pkg_check_modules(Config++ REQUIRED IMPORTED_TARGET libconfig++)
pkg_check_modules(GraphicsMagick++ IMPORTED_TARGET GraphicsMagick++)
# WT
if (NOT Wt_FOUND)