add new patch
This commit is contained in:
parent
221fe066fb
commit
82538f474c
25
kdelibs-4.14.13-taglib_version.patch
Normal file
25
kdelibs-4.14.13-taglib_version.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
diff -up kdelibs-4.14.13/cmake/modules/FindTaglib.cmake.taglib_version kdelibs-4.14.13/cmake/modules/FindTaglib.cmake
|
||||||
|
--- kdelibs-4.14.13/cmake/modules/FindTaglib.cmake.taglib_version 2015-10-10 09:08:22.000000000 -0500
|
||||||
|
+++ kdelibs-4.14.13/cmake/modules/FindTaglib.cmake 2015-10-21 18:10:45.389702981 -0500
|
||||||
|
@@ -29,10 +29,10 @@ if(TAGLIBCONFIG_EXECUTABLE)
|
||||||
|
|
||||||
|
exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --version RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_VERSION)
|
||||||
|
|
||||||
|
- if(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
|
||||||
|
+ if("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
|
||||||
|
message(STATUS "TagLib version not found: version searched :${TAGLIB_MIN_VERSION}, found ${TAGLIB_VERSION}")
|
||||||
|
set(TAGLIB_FOUND FALSE)
|
||||||
|
- else(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
|
||||||
|
+ else("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
|
||||||
|
|
||||||
|
exec_program(${TAGLIBCONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE TAGLIB_LIBRARIES)
|
||||||
|
|
||||||
|
@@ -43,7 +43,7 @@ if(TAGLIBCONFIG_EXECUTABLE)
|
||||||
|
message(STATUS "Found taglib: ${TAGLIB_LIBRARIES}")
|
||||||
|
endif(TAGLIB_LIBRARIES AND TAGLIB_CFLAGS)
|
||||||
|
string(REGEX REPLACE " *-I" ";" TAGLIB_INCLUDES "${TAGLIB_CFLAGS}")
|
||||||
|
- endif(TAGLIB_VERSION STRLESS "${TAGLIB_MIN_VERSION}")
|
||||||
|
+ endif("${TAGLIB_MIN_VERSION}" VERSION_GREATER TAGLIB_VERSION)
|
||||||
|
mark_as_advanced(TAGLIB_CFLAGS TAGLIB_LIBRARIES TAGLIB_INCLUDES)
|
||||||
|
|
||||||
|
else(TAGLIBCONFIG_EXECUTABLE)
|
Loading…
Reference in New Issue
Block a user