Commit 45198f52 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Detect libid3tag.

parent 727f7b3c
...@@ -594,6 +594,12 @@ if(Dvbpsi_FOUND) ...@@ -594,6 +594,12 @@ if(Dvbpsi_FOUND)
vlc_module_add_link_libraries(dvb ${Dvbpsi_LIBRARIES}) vlc_module_add_link_libraries(dvb ${Dvbpsi_LIBRARIES})
endif(Dvbpsi_FOUND) endif(Dvbpsi_FOUND)
vlc_check_include_files (id3tag.h zlib.h)
if(HAVE_ID3TAG_H AND HAVE_ZLIB_H)
vlc_enable_modules(id3tag)
vlc_module_add_link_libraries(id3tag "id3tag;z")
endif(HAVE_ID3TAG_H AND HAVE_ZLIB_H)
set(CMAKE_REQUIRED_INCLUDES) set(CMAKE_REQUIRED_INCLUDES)
########################################################### ###########################################################
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment