[vlmc-devel] build: add VLC install directory in potential libvlc locations

Hugo Beauzée-Luyssen git at videolan.org
Sun Feb 2 13:51:07 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Dec 25 19:20:04 2013 +0100| [286b5668c999ec36a0aec7f0e53b54e94b19d3f2] | committer: Hugo Beauzée-Luyssen

build: add VLC install directory in potential libvlc locations

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=286b5668c999ec36a0aec7f0e53b54e94b19d3f2
---

 cmake/FindLIBVLC.cmake |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/cmake/FindLIBVLC.cmake b/cmake/FindLIBVLC.cmake
index 609fda4..9ae2f19 100644
--- a/cmake/FindLIBVLC.cmake
+++ b/cmake/FindLIBVLC.cmake
@@ -33,6 +33,8 @@ FIND_PATH(LIBVLC_INCLUDE_DIR vlc/vlc.h
     "/usr/local/include/vlc"
     #mingw
     c:/msys/local/include
+    # MacOS install dir
+    /Applications/VLC.app/Contents/MacOS/include
   )
 FIND_PATH(LIBVLC_INCLUDE_DIR PATHS "${CMAKE_INCLUDE_PATH}/vlc" NAMES vlc.h)
 
@@ -45,6 +47,8 @@ FIND_LIBRARY(LIBVLC_LIBRARY NAMES vlc libvlc
     #Mac OS
     "${CMAKE_CURRENT_SOURCE_DIR}/contribs/lib"
     "${CMAKE_CURRENT_SOURCE_DIR}/contribs/plugins"
+    # MacOS install dir
+    /Applications/VLC.app/Contents/MacOS/lib
     #mingw
     c:/msys/local/lib
   )
@@ -56,6 +60,8 @@ FIND_LIBRARY(LIBVLCCORE_LIBRARY NAMES vlccore libvlccore
     #Mac OS
     "${CMAKE_CURRENT_SOURCE_DIR}/contribs/lib"
     "${CMAKE_CURRENT_SOURCE_DIR}/contribs/plugins"
+    # MacOS install dir
+    /Applications/VLC.app/Contents/MacOS/lib
     #mingw
     c:/msys/local/lib
   )



More information about the Vlmc-devel mailing list