Changeset 6c586bf59eac783233aaa48ce59b6ac793baf8ff

Show
Ignore:
Timestamp:
02/09/08 22:59:19 (7 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1202594359 +0000
git-parent:

[377173c5f0356e4f4427e26ad83366752e614227]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1202594359 +0000
Message:

cmake: FindCurses?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • extras/buildsystem/cmake/include/config.cmake

    r471d45f r6c586bf  
    1919set(VLC_VERSION_PATCH 0) 
    2020set(VLC_VERSION_EXTRA "-svn") 
     21set(VLC_VERSION ${VLC_VERSION_MAJOR}.${VLC_VERSION_MINOR}.${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA}) 
    2122 
    2223set(PACKAGE "vlc") 
     24set(PACKAGE_VERSION "${VLC_VERSION}") 
    2325set(PACKAGE_STRING "vlc") 
    24 set(VERSION_MESSAGE "vlc-${VLC_VERSION_MAJOR}.${VLC_VERSION_MINOR}.${VLC_VERSION_PATCH}${VLC_VERSION_EXTRA}") 
     26set(VERSION_MESSAGE "vlc-${VLC_VERSION}") 
    2527set(COPYRIGHT_MESSAGE "Copyright © the VideoLAN team") 
    2628set(COPYRIGHT_YEARS "2001-2008") 
     
    468470endif(Matroska_FOUND) 
    469471 
    470 find_package(Live555 0.7.7
     472find_package(Live555
    471473if(Live555_FOUND) 
    472474  vlc_enable_modules(live555) 
     
    475477endif(Live555_FOUND) 
    476478 
     479find_package(Curses) 
     480if(CURSES_LIBRARIES) 
     481  vlc_enable_modules(ncurses) 
     482  vlc_module_add_link_libraries(ncurses ${CURSES_LIBRARIES}) 
     483endif(CURSES_LIBRARIES) 
     484 
    477485set(CMAKE_REQUIRED_INCLUDES) 
    478486