Commit 9ff8b67e authored by Rohit Yadav's avatar Rohit Yadav Committed by Hugo Beauzée-Luyssen

Dpkg, rpmbuild finder cmake modules, updated paths for Mac OS

Signed-off-by: 's avatarHugo Beauzée-Luyssen <beauze.h@gmail.com>
parent 6af0d183
#
# VLMC DPKG Finder
# Authors: Rohit Yadav <rohityadav89@gmail.com>
#
FIND_PROGRAM(DPKG
NAMES dpkg-deb
PATHS "/usr/bin") #Add paths here
IF ( DPKG )
GET_FILENAME_COMPONENT(DPKG_PATH ${DPKG} ABSOLUTE)
MESSAGE(STATUS "Found dpkg-deb : ${DPKG_PATH}")
SET(DPKG_FOUND "YES")
ELSE ( DPKG )
MESSAGE(STATUS "dpkg-deb NOT found. deb generation will not be available")
SET(DPKG_FOUND "NO")
ENDIF ( DPKG )
......@@ -26,6 +26,9 @@ FIND_PATH(LIBVLC_INCLUDE_DIR vlc/vlc.h
"/usr/include/vlc"
"/usr/local/include"
"/usr/local/include/vlc"
#Mac OS
"${CMAKE_CURRENT_SOURCE_DIR}/contribs/include"
"${CMAKE_CURRENT_SOURCE_DIR}/contribs/include/vlc"
#mingw
c:/msys/local/include
)
......@@ -37,6 +40,9 @@ FIND_LIBRARY(LIBVLC_LIBRARY NAMES vlc libvlc
HINTS "$ENV{LIBVLC_LIBRARY_PATH}"
PATHS
"$ENV{LIB_DIR}/lib"
#Mac OS
"${CMAKE_CURRENT_SOURCE_DIR}/contribs/lib"
"${CMAKE_CURRENT_SOURCE_DIR}/contribs/plugins"
#mingw
c:/msys/local/lib
)
......@@ -45,6 +51,9 @@ FIND_LIBRARY(LIBVLCCORE_LIBRARY NAMES vlccore libvlccore
HINTS "$ENV{LIBVLC_LIBRARY_PATH}"
PATHS
"$ENV{LIB_DIR}/lib"
#Mac OS
"${CMAKE_CURRENT_SOURCE_DIR}/contribs/lib"
"${CMAKE_CURRENT_SOURCE_DIR}/contribs/plugins"
#mingw
c:/msys/local/lib
)
......
#
# VLMC RPM Finder
# Authors: Rohit Yadav <rohityadav89@gmail.com>
#
FIND_PROGRAM(RPMBUILD
NAMES rpmbuild
PATHS "/usr/bin")
IF ( RPMBUILD )
GET_FILENAME_COMPONENT(RPMBUILD_PATH ${RPMBUILD} ABSOLUTE)
MESSAGE(STATUS "Found rpmbuild : ${RPMBUILD_PATH}")
SET(RPMBUILD_FOUND "YES")
ELSE ( RPMBUILD )
MESSAGE(STATUS "rpmbuild NOT found. RPM generation will not be available")
SET(RPMBUILD_FOUND "NO")
ENDIF ( RPMBUILD )
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