[vlc-devel] commit: Cmake : fix libvlc* versionning and naming ( Rafaël Carré )
git version control
git at videolan.org
Tue May 20 22:09:57 CEST 2008
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue May 20 21:57:59 2008 +0200| [0e6016e25fa45c57ab88c2e6b8dcc21f57bd89da]
Cmake : fix libvlc* versionning and naming
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0e6016e25fa45c57ab88c2e6b8dcc21f57bd89da
---
.../cmake/CMakeLists/src_CMakeLists.txt | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt b/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
index b2a5a8e..3e03c1e 100644
--- a/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
+++ b/extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
@@ -7,7 +7,7 @@ add_definitions(-DDATA_PATH="${CMAKE_INSTALL_PREFIX}/share/vlc")
# vlc
add_executable(vlc vlc.c)
-target_link_libraries(vlc libvlccore general libvlc)
+target_link_libraries(vlc libvlccore libvlc)
# libvlccore
@@ -145,8 +145,8 @@ endif(SYS_DARWIN)
add_library(libvlccore SHARED ${SOURCES_libvlccore})
set_target_properties(libvlccore PROPERTIES
- OUTPUT_NAME vlc
- SOVERSION 1 VERSION 1.0.0)
+ OUTPUT_NAME vlccore
+ SOVERSION 0 VERSION 0.0.0)
if(UPDATE_CHECK)
target_link_libraries(libvlccore ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES} "-lgcrypt")
@@ -183,7 +183,7 @@ set( SOURCES_libvlc
add_library(libvlc SHARED ${SOURCES_libvlc})
set_target_properties(libvlc PROPERTIES OUTPUT_NAME vlc)
-set_target_properties(libvlc PROPERTIES SOVERSION 0)
+set_target_properties(libvlc PROPERTIES SOVERSION 2)
set_target_properties(libvlccore PROPERTIES VERSION 0.0.0)
set_source_files_properties(${SOURCES_libvlc} PROPERTIES COMPILE_FLAGS -DMODULE_STRING=\\"control\\")
More information about the vlc-devel
mailing list