[vlc-devel] commit: cmake: Detect libid3tag. (Pierre d'Herbemont )
git version control
git at videolan.org
Sat Apr 19 04:20:19 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Apr 19 04:20:38 2008 +0200| [45198f52783fe77620587fcb440b07e4a39bc843]
cmake: Detect libid3tag.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45198f52783fe77620587fcb440b07e4a39bc843
---
extras/buildsystem/cmake/include/config.cmake | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/extras/buildsystem/cmake/include/config.cmake b/extras/buildsystem/cmake/include/config.cmake
index 64f2f69..a96a6ca 100644
--- a/extras/buildsystem/cmake/include/config.cmake
+++ b/extras/buildsystem/cmake/include/config.cmake
@@ -594,6 +594,12 @@ if(Dvbpsi_FOUND)
vlc_module_add_link_libraries(dvb ${Dvbpsi_LIBRARIES})
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)
###########################################################
More information about the vlc-devel
mailing list