Skip to content

Commit

Permalink
Fix previous taglib check
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardomv committed Nov 7, 2015
1 parent bda224f commit eb6986e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/plugin/folderlistmodel/CMakeLists.txt
@@ -1,9 +1,8 @@
option(USE_TAG_LIB "Use TAGLIB for getting metada" on)
option(USE_TAG_LIB "Use TAGLIB for getting metada" ON)

if(USE_TAG_LIB)
pkg_check_modules(TAGLIB OPTIONAL)
pkg_check_modules(TAGLIB taglib)
if(TAGLIB_FOUND)
message("${TAGLIB_LIBRARIES}")
set(CMAKE_REQUIRED_INCLUDES "${TAGLIB_INCLUDE_DIRS}")
set(CMAKE_REQUIRED_LIBRARIES "${TAGLIB_LIBRARIES}")
else(TAGLIB_FOUND)
Expand Down Expand Up @@ -58,7 +57,7 @@ set(folderlistmodel_SRCS
disk/disklocation.cpp
disk/disklocation.h
trash/qtrashdir.cpp
trash/qtrashdir.h
trash/qtrashdir.h
trash/qtrashutilinfo.cpp
trash/qtrashutilinfo.h
trash/trashiteminfo.cpp
Expand Down

0 comments on commit eb6986e

Please sign in to comment.