Commit 45141762 authored by ivoire's avatar ivoire
Browse files

Fix phonon-vlc compilation and linking.

(not sure that's the best way but that's working well).
parent 2f184dd5
...@@ -30,6 +30,7 @@ find_package(Automoc4 REQUIRED) ...@@ -30,6 +30,7 @@ find_package(Automoc4 REQUIRED)
include (CheckCXXCompilerFlag) include (CheckCXXCompilerFlag)
include (MacroEnsureVersion) include (MacroEnsureVersion)
find_package(VLC REQUIRED)
if (NOT AUTOMOC4_VERSION) if (NOT AUTOMOC4_VERSION)
set(AUTOMOC4_VERSION "0.9.83") set(AUTOMOC4_VERSION "0.9.83")
endif (NOT AUTOMOC4_VERSION) endif (NOT AUTOMOC4_VERSION)
......
...@@ -25,6 +25,7 @@ if(NOT WIN32) ...@@ -25,6 +25,7 @@ if(NOT WIN32)
find_package(PkgConfig) find_package(PkgConfig)
pkg_check_modules(VLC libvlc>=1.0.0) pkg_check_modules(VLC libvlc>=1.0.0)
set(VLC_DEFINITIONS ${VLC_CFLAGS}) set(VLC_DEFINITIONS ${VLC_CFLAGS})
set(VLC_LIBRARIES ${VLC_LDFLAGS})
endif(NOT WIN32) endif(NOT WIN32)
# TODO add argument support to pass version on find_package # TODO add argument support to pass version on find_package
......
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