Skip to content

Commit

Permalink
CMake: fix version detection for TagLib
Browse files Browse the repository at this point in the history
On Windows, the pkgconfig file is found and the variable is
defined but somehow set to empty string.
  • Loading branch information
Be-ing committed Aug 28, 2021
1 parent e42c162 commit 8699e61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/FindTagLib.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ find_library(TagLib_LIBRARY
mark_as_advanced(TagLib_LIBRARY)

# Version detection
if(DEFINED PC_TagLib_VERSION)
if(PC_TagLib_VERSION)
set(TagLib_VERSION "${PC_TagLib_VERSION}")
else()
if (EXISTS "${TagLib_INCLUDE_DIR}/taglib.h")
Expand Down

0 comments on commit 8699e61

Please sign in to comment.