Include GLIB include directories for GStreamer.
parent
3bd1202dbe
commit
4020c120b7
|
|
@ -1,5 +1,6 @@
|
|||
# -*- cmake -*-
|
||||
include(Prebuilt)
|
||||
include(GLIB) # <FS:Beq/> add glib includes
|
||||
if (NOT LINUX)
|
||||
return()
|
||||
endif()
|
||||
|
|
@ -10,4 +11,12 @@ use_system_binary(gstreamer10)
|
|||
|
||||
use_prebuilt_binary(gstreamer10)
|
||||
use_prebuilt_binary(libxml2)
|
||||
target_include_directories( ll::gstreamer SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/gstreamer-1.0)
|
||||
# <FS:Beq> make sure glib is found
|
||||
set(_gstreamer10_include_dirs
|
||||
${LIBS_PREBUILT_DIR}/include/gstreamer-1.0
|
||||
${GLIB_INCLUDE_DIRS}
|
||||
)
|
||||
list(REMOVE_ITEM _gstreamer10_include_dirs "")
|
||||
# </FS:Beq>
|
||||
|
||||
target_include_directories( ll::gstreamer SYSTEM INTERFACE ${_gstreamer10_include_dirs})
|
||||
|
|
|
|||
Loading…
Reference in New Issue