Commit fe2b5120 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Bunch of fixes

parent 12d327f7
......@@ -134,7 +134,8 @@ endif(SYS_DARWIN)
add_library(libvlc SHARED ${SOURCES_libvlc})
install_targets(/lib libvlc)
set_target_properties(libvlc PROPERTIES LINK_FLAGS "${LIBICONV}")
set_target_properties(libvlc PROPERTIES SOVERSION 1.0.0)
# libvlc-control
set( SOURCES_libvlc_control
......@@ -191,7 +192,7 @@ OUTPUT ${rev}
COMMAND rm -f ${rev} ${rev}.tmp
COMMAND echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > ${rev}.tmp
COMMAND printf "const char psz_vlc_changeset[] = \"" >> ${rev}.tmp
COMMAND sh -c "echo `LANG=C\ svnversion\ ${CMAKE_SOURCE_DIR}\ ||\ echo\ exported`" >> ${rev}.tmp
COMMAND sh -c "printf `LANG=C\ svnversion\ ${CMAKE_SOURCE_DIR}\ ||\ echo\ exported`" >> ${rev}.tmp
COMMAND echo "\";" >> ${rev}.tmp
COMMAND mv -f ${rev}.tmp ${rev}
VERBATIM
......@@ -239,5 +240,6 @@ set(about)
##########################################################
# SET_TARGET_PROPERTIES
set_target_properties(libvlc libvlc-control PROPERTIES PREFIX "")
set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
"-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )
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