mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
Drop unused CheckTagLibFileName.cmake and COMPLEX_TAGLIB_FILENAME
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
committed by
Dominik Schmidt
parent
115b3f7521
commit
90ec6f0dc7
@@ -213,8 +213,6 @@ macro_optional_find_package(Lucene++ 3.0.0)
|
|||||||
macro_log_feature(LUCENEPP_FOUND "Lucene++" "The open-source, C++ search engine" "https://github.com/luceneplusplus/LucenePlusPlus/" TRUE "" "Lucene++ is used for indexing the collection")
|
macro_log_feature(LUCENEPP_FOUND "Lucene++" "The open-source, C++ search engine" "https://github.com/luceneplusplus/LucenePlusPlus/" TRUE "" "Lucene++ is used for indexing the collection")
|
||||||
|
|
||||||
find_package(Taglib 1.8.0 REQUIRED)
|
find_package(Taglib 1.8.0 REQUIRED)
|
||||||
include( CheckTagLibFileName )
|
|
||||||
check_taglib_filename( COMPLEX_TAGLIB_FILENAME )
|
|
||||||
|
|
||||||
macro_optional_find_package(Sparsehash)
|
macro_optional_find_package(Sparsehash)
|
||||||
macro_log_feature(SPARSEHASH_FOUND "Sparsehash"
|
macro_log_feature(SPARSEHASH_FOUND "Sparsehash"
|
||||||
|
@@ -1,15 +0,0 @@
|
|||||||
# taglib changed filenames to be a char/wchar struct on some platforms, need to check for it
|
|
||||||
macro (CHECK_TAGLIB_FILENAME TAGLIB_FILENAME_COMPLEX)
|
|
||||||
include (CheckCXXSourceCompiles)
|
|
||||||
set (CMAKE_REQUIRED_FLAGS ${TAGLIB_CFLAGS})
|
|
||||||
set (CMAKE_REQUIRED_INCLUDES ${TAGLIB_INCLUDES})
|
|
||||||
set (CMAKE_REQUIRED_LIBRARIES ${TAGLIB_LIBRARIES})
|
|
||||||
check_cxx_source_compiles(
|
|
||||||
"#include <tfile.h>
|
|
||||||
int main()
|
|
||||||
{
|
|
||||||
TagLib::FileName fileName1(\"char\");
|
|
||||||
TagLib::FileName fileName2(L\"wchar\");
|
|
||||||
return 0;
|
|
||||||
}" ${TAGLIB_FILENAME_COMPLEX})
|
|
||||||
endmacro (CHECK_TAGLIB_FILENAME)
|
|
@@ -23,7 +23,6 @@
|
|||||||
#cmakedefine QTSPARKLE_FOUND
|
#cmakedefine QTSPARKLE_FOUND
|
||||||
|
|
||||||
#cmakedefine TOMAHAWK_FINEGRAINED_MESSAGES
|
#cmakedefine TOMAHAWK_FINEGRAINED_MESSAGES
|
||||||
#cmakedefine COMPLEX_TAGLIB_FILENAME
|
|
||||||
#cmakedefine HAVE_VLC_ALBUMARTIST
|
#cmakedefine HAVE_VLC_ALBUMARTIST
|
||||||
#cmakedefine HAVE_X11
|
#cmakedefine HAVE_X11
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user