1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-30 09:10:53 +02:00

clean code, use boost::function for callbacks

This commit is contained in:
dridri
2014-10-18 20:02:27 +02:00
committed by Uwe L. Korn
parent eb1ef86452
commit ead0ecc808
13 changed files with 185 additions and 184 deletions

View File

@@ -10,7 +10,7 @@
# LIBVLC_VERSION
if(NOT LIBVLC_MIN_VERSION)
set(LIBVLC_MIN_VERSION "0.0")
set(LIBVLC_MIN_VERSION "2.1")
endif(NOT LIBVLC_MIN_VERSION)
# find_path and find_library normally search standard locations
@@ -43,6 +43,15 @@ PATHS
find_path(LIBVLC_INCLUDE_DIR PATHS "${CMAKE_INCLUDE_PATH}/vlc" NAMES vlc.h
HINTS ${PC_LIBVLC_INCLUDEDIR} ${PC_LIBVLC_INCLUDE_DIRS})
find_path(LIBVLCCORE_INCLUDE_DIR vlc_plugin.h
PATHS
"$ENV{LIB_DIR}/include/vlc/plugins"
"/usr/include/vlc/plugins"
"/usr/local/include/vlc/plugins"
#mingw
c:/msys/local/include/vlc/plugins
)
#Put here path to custom location
#example: /home/user/vlc/lib etc..
find_library(LIBVLC_LIBRARY NAMES vlc libvlc