Warning, /multimedia/amarok/cmake/modules/CheckTagLibFileName.cmake is written in an unsupported language. File is not indexed.

0001 # taglib changed filenames to be a char/wchar struct on some platforms, need to check for it
0002 macro (CHECK_TAGLIB_FILENAME TAGLIB_FILENAME_COMPLEX)
0003         include (CheckCXXSourceCompiles)
0004         set (CMAKE_REQUIRED_FLAGS ${TAGLIB_CFLAGS})
0005         set (CMAKE_REQUIRED_INCLUDES ${TAGLIB_INCLUDES})
0006         set (CMAKE_REQUIRED_LIBRARIES ${TAGLIB_LIBRARIES})
0007         check_cxx_source_compiles(
0008         "#include <tfile.h>
0009         int main()
0010         {
0011                 TagLib::FileName fileName1(\"char\");
0012                 TagLib::FileName fileName2(L\"wchar\");
0013                 return 0;
0014         }" ${TAGLIB_FILENAME_COMPLEX})
0015 endmacro (CHECK_TAGLIB_FILENAME)