[vlmc-devel] cmake: Export libvlc/libvlccore directory when it is found

Hugo Beauzée-Luyssen git at videolan.org
Wed Feb 5 00:24:32 CET 2014


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Feb  5 00:15:44 2014 +0200| [6d42f3ac878efd580ab1e07e04d4db36a74b2ec4] | committer: Hugo Beauzée-Luyssen

cmake: Export libvlc/libvlccore directory when it is found

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

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

diff --git a/cmake/FindLIBVLC.cmake b/cmake/FindLIBVLC.cmake
index 9ae2f19..e13a706 100644
--- a/cmake/FindLIBVLC.cmake
+++ b/cmake/FindLIBVLC.cmake
@@ -72,6 +72,7 @@ IF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY AND LIBVLCCORE_LIBRARY)
 ENDIF (LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY AND LIBVLCCORE_LIBRARY)
 
 IF (LIBVLC_FOUND)
+   get_filename_component(LIBVLC_LIB_DIR ${LIBVLC_LIBRARY} PATH)
    IF (NOT LIBVLC_FIND_QUIETLY)
       MESSAGE(STATUS "Found LibVLC include-dir path: ${LIBVLC_INCLUDE_DIR}")
       MESSAGE(STATUS "Found LibVLC library path:${LIBVLC_LIBRARY}")



More information about the Vlmc-devel mailing list