]> git.sesse.net Git - vlc/commitdiff
cmake: FindCurses.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 9 Feb 2008 21:59:19 +0000 (21:59 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 9 Feb 2008 21:59:19 +0000 (21:59 +0000)
extras/buildsystem/cmake/include/config.cmake

index 6f3c8fecb45b9c88a9b3685d947c7b906d2ffa5d..d8f533a6837bc6b1e46f5c28776e56b0ee2a7c04 100644 (file)
@@ -18,10 +18,12 @@ set(VLC_VERSION_MAJOR 0)
 set(VLC_VERSION_MINOR 9)
 set(VLC_VERSION_PATCH 0)
 set(VLC_VERSION_EXTRA "-svn")
+set(VLC_VERSION ${VLC_VERSION_MAJOR}.${VLC_VERSION_MINOR}.${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA})
 
 set(PACKAGE "vlc")
+set(PACKAGE_VERSION "${VLC_VERSION}")
 set(PACKAGE_STRING "vlc")
-set(VERSION_MESSAGE "vlc-${VLC_VERSION_MAJOR}.${VLC_VERSION_MINOR}.${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA}")
+set(VERSION_MESSAGE "vlc-${VLC_VERSION}")
 set(COPYRIGHT_MESSAGE "Copyright © the VideoLAN team")
 set(COPYRIGHT_YEARS "2001-2008")
 
@@ -467,13 +469,19 @@ if(Matroska_FOUND)
   vlc_module_add_link_libraries(mkv ${Matroska_LIBRARIES})
 endif(Matroska_FOUND)
 
-find_package(Live555 0.7.7)
+find_package(Live555)
 if(Live555_FOUND)
   vlc_enable_modules(live555)
   vlc_add_module_compile_flag(live555 ${Live555_CFLAGS})
   vlc_module_add_link_libraries(live555 ${Live555_LIBRARIES})
 endif(Live555_FOUND)
 
+find_package(Curses)
+if(CURSES_LIBRARIES)
+  vlc_enable_modules(ncurses)
+  vlc_module_add_link_libraries(ncurses ${CURSES_LIBRARIES})
+endif(CURSES_LIBRARIES)
+
 set(CMAKE_REQUIRED_INCLUDES)
 
 ###########################################################