Commit 025edf95 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Set min version required, fix some warnings, remove network/error.c from src/CMakeLists.txt.

parent 89d6e4c6
PROJECT(vlc)
CMAKE_POLICY(VERSION 2.5)
cmake_policy(VERSION 2.6)
cmake_minimum_required(VERSION 2.6)
ENABLE_TESTING()
......
add_definitions(-Dasm=__asm__ -D_INTL_REDIRECT_MACROS)
add_definitions(-DLOCALEDIR=\\"${CMAKE_INSTALL_PREFIX}/locale\\")
add_definitions(-DPLUGIN_PATH=\\"${CMAKE_INSTALL_PREFIX}/lib/vlc\\")
add_definitions(-DDATA_PATH=\\"${CMAKE_INSTALL_PREFIX}/share/vlc\\")
add_definitions(-DLOCALEDIR="${CMAKE_INSTALL_PREFIX}/locale")
add_definitions(-DPLUGIN_PATH="${CMAKE_INSTALL_PREFIX}/lib/vlc")
add_definitions(-DDATA_PATH="${CMAKE_INSTALL_PREFIX}/share/vlc")
# vlc
add_executable(vlc vlc.c)
......@@ -76,7 +76,6 @@ set( SOURCES_libvlc_common
network/acl.c
network/getaddrinfo.c
network/io.c
network/error.c
network/tcp.c
network/udp.c
network/httpd.c
......
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