Skip to content

Commit

Permalink
Merge pull request #18 from Be-ing/taglib_cmake_version_check
Browse files Browse the repository at this point in the history
CMake: fix version detection for TagLib
  • Loading branch information
uklotzde authored Aug 28, 2021
2 parents e42c162 + 8699e61 commit 6c5e0f7
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 6c5e0f7

Please sign in to comment.