Add 'QTGSTREAMER_INCLUDES' to the include directories as it contains the boost header location.
Summary: `QTGSTREAMER_INCLUDES` is defined in `Qt5Gstremaer/QtGStreamerConfigCommon.cmake` as ``` set(QTGSTREAMER_INCLUDES ${QTGSTREAMER_INCLUDE_DIR} ${Boost_INCLUDE_DIRS}) ``` This fixes the following build error: > [ 95%] Building CXX object libsound/src/qtgstreamerbackend/CMakeFiles/qtgstreamerbackend.dir/qtgstreamerbackend.cpp.o > cd /wrkdirs/usr/ports/misc/artikulate/work/.build/libsound/src/qtgstreamerbackend && /usr/local/libexec/ccache/c++ -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -D_LARGEFILE64_SOURCE -Dqtgstreamerbackend_EXPORTS -I/wrkdirs/usr/ports/misc/artikulate/work/.build/libsound/src/qtgstreamerbackend -I/wrkdirs/usr/ports/misc/artikulate/work/artikulate-16.03.80/libsound/src/qtgstreamerbackend -I/wrkdirs/usr/ports/misc/artikulate/work/.build/libsound/src -I/wrkdirs/usr/ports/misc/artikulate/work/artikulate-16.03.80/libsound/src -I/usr/local/include/Qt5GStreamer -isystem /usr/local/include/KF5/KCoreAddons -isystem /usr/local/include/KF5 -isystem /usr/local/include/qt5 -isystem /usr/local/include/qt5/QtCore -isystem /usr/local/lib/qt5/mkspecs/freebsd-clang -isystem /usr/local/include/KF5/KI18n -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++0x -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -fexceptions -O2 -pipe -fstack-protector -fno-strict-aliasing -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -o CMakeFiles/qtgstreamerbackend.dir/qtgstreamerbackend.cpp.o -c /wrkdirs/usr/ports/misc/artikulate/work/artikulate-16.03.80/libsound/src/qtgstreamerbackend/qtgstreamerbackend.cpp > In file included from /wrkdirs/usr/ports/misc/artikulate/work/artikulate-16.03.80/libsound/src/qtgstreamerbackend/qtgstreamerbackend.cpp:19: > In file included from /wrkdirs/usr/ports/misc/artikulate/work/artikulate-16.03.80/libsound/src/qtgstreamerbackend/qtgstreamercapturebackend.h:26: > In file included from /usr/local/include/Qt5GStreamer/QGst/Global:1: > In file included from /usr/local/include/Qt5GStreamer/QGst/global.h:25: > In file included from /usr/local/include/Qt5GStreamer/QGst/../QGlib/type.h:22: > /usr/local/include/Qt5GStreamer/QGst/../QGlib/global.h:26:10: fatal error: 'boost/config.hpp' file not found > #include <boost/config.hpp> > ^ > 1 error generated. Reviewers: rakuco, cordlandwehr, #artikulate Reviewed By: cordlandwehr, #artikulate Subscribers: cordlandwehr Differential Revision: https://phabricator.kde.org/D1217
parent
be0b1d21
Please register or sign in to comment