mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-01-17 14:28:24 +01:00
Only look for and link against libvlc, not libvlccore
This commit is contained in:
parent
e8d73fe0cc
commit
daf3034d99
@ -14,11 +14,6 @@ find_library(LIBVLC_LIBRARY NAMES vlc libvlc
|
|||||||
${PC_LIBVLC_LIBRARY_DIRS}
|
${PC_LIBVLC_LIBRARY_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
find_library(LIBVLCCORE_LIBRARY NAMES vlccore libvlccore
|
|
||||||
HINTS
|
|
||||||
${PC_LIBVLC_LIBDIR}
|
|
||||||
${PC_LIBVLC_LIBRARY_DIRS}
|
|
||||||
)
|
|
||||||
|
|
||||||
set(LIBVLC_VERSION ${PC_LIBVLC_VERSION})
|
set(LIBVLC_VERSION ${PC_LIBVLC_VERSION})
|
||||||
|
|
||||||
@ -32,8 +27,6 @@ int main(int argc, char *argv[]) {
|
|||||||
HAVE_VLC_ALBUMARTIST)
|
HAVE_VLC_ALBUMARTIST)
|
||||||
|
|
||||||
find_package_handle_standard_args(LibVLC
|
find_package_handle_standard_args(LibVLC
|
||||||
REQUIRED_VARS LIBVLC_LIBRARY LIBVLCCORE_LIBRARY LIBVLC_INCLUDE_DIR
|
REQUIRED_VARS LIBVLC_LIBRARY LIBVLC_INCLUDE_DIR
|
||||||
VERSION_VAR LIBVLC_VERSION
|
VERSION_VAR LIBVLC_VERSION
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -524,7 +524,6 @@ ENDIF( UNIX AND NOT APPLE )
|
|||||||
TARGET_LINK_LIBRARIES( ${TOMAHAWK_LIBRARY}
|
TARGET_LINK_LIBRARIES( ${TOMAHAWK_LIBRARY}
|
||||||
LINK_PRIVATE
|
LINK_PRIVATE
|
||||||
${LIBVLC_LIBRARY}
|
${LIBVLC_LIBRARY}
|
||||||
${LIBVLCCORE_LIBRARY}
|
|
||||||
|
|
||||||
# Thirdparty shipped with tomahawk
|
# Thirdparty shipped with tomahawk
|
||||||
${LIBPORTFWD_LIBRARIES}
|
${LIBPORTFWD_LIBRARIES}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user