|
|
|
@ -42,6 +42,29 @@ else( )
|
|
|
|
|
tde_message_fatal( "taglib is required, but not found on your system" )
|
|
|
|
|
endif( )
|
|
|
|
|
|
|
|
|
|
tde_save_and_set( CMAKE_REQUIRED_DEFINITIONS "${LARGEFILES_DEFINITIONS}" )
|
|
|
|
|
tde_save_and_set( CMAKE_REQUIRED_INCLUDES "${TAGLIB_INCLUDE_DIRS}" )
|
|
|
|
|
tde_save_and_set( CMAKE_REQUIRED_LIBRARIES "${TAGLIB_LIBRARIES}" )
|
|
|
|
|
|
|
|
|
|
check_cxx_source_compiles( "
|
|
|
|
|
#include <taglib.h>
|
|
|
|
|
#include <id3v1tag.h>
|
|
|
|
|
|
|
|
|
|
int main( int, char** )
|
|
|
|
|
{
|
|
|
|
|
off_t tagOffset = 0;
|
|
|
|
|
TagLib::File *testFile = nullptr;
|
|
|
|
|
TagLib::ID3v1::Tag *id3tag = new TagLib::ID3v1::Tag(testFile, tagOffset);
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
"
|
|
|
|
|
TAGLIB_LARGE_FILES_SUPPORT
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
tde_restore( CMAKE_REQUIRED_DEFINITIONS )
|
|
|
|
|
tde_restore( CMAKE_REQUIRED_INCLUDES )
|
|
|
|
|
tde_restore( CMAKE_REQUIRED_LIBRARIES )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
##### check for cdda interface and paranoia
|
|
|
|
|
|
|
|
|
|