Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
VideoLAN
medialibrary
Commits
fd87d560
Commit
fd87d560
authored
Oct 12, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FindLibvlc.cmake: Don't require nor look for libvlccore
parent
2379394e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
16 deletions
+2
-16
cmake/FindLIBVLC.cmake
cmake/FindLIBVLC.cmake
+2
-16
No files found.
cmake/FindLIBVLC.cmake
View file @
fd87d560
...
...
@@ -53,30 +53,16 @@ FIND_LIBRARY(LIBVLC_LIBRARY NAMES vlc libvlc
c:/msys/local/lib
)
FIND_LIBRARY
(
LIBVLC_LIBRARY NAMES vlc libvlc
)
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"
# MacOS install dir
/Applications/VLC.app/Contents/MacOS/lib
#mingw
c:/msys/local/lib
)
FIND_LIBRARY
(
LIBVLCCORE_LIBRARY NAMES vlccore libvlccore
)
IF
(
LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY
AND LIBVLCCORE_LIBRARY
)
IF
(
LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY
)
SET
(
LIBVLC_FOUND TRUE
)
ENDIF
(
LIBVLC_INCLUDE_DIR AND LIBVLC_LIBRARY
AND LIBVLCCORE_LIBRARY
)
ENDIF
(
LIBVLC_INCLUDE_DIR AND LIBVLC_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
}
"
)
MESSAGE
(
STATUS
"Found LibVLCcore library path:
${
LIBVLCCORE_LIBRARY
}
"
)
ENDIF
(
NOT LIBVLC_FIND_QUIETLY
)
ELSE
(
LIBVLC_FOUND
)
IF
(
LIBVLC_FIND_REQUIRED
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment