OS: Ubuntu 18.04
Command:
$ mkdir build && cd build
$ cmake -DWITH_DBUS=ON ..
$ make

The following error occurs when linking 'inkview':

[  1%] Built target nrtype_LIB
[  1%] Built target inkscape_dbus
[  2%] Built target util_LIB
[  6%] Built target 2geom_LIB
[  7%] Built target uemf_LIB
[  9%] Built target croco_LIB
[ 10%] Built target depixelize_LIB
[ 13%] Built target avoid_LIB
[ 14%] Built target cola_LIB
[ 15%] Built target vpsc_LIB
[ 16%] Built target autotrace_LIB
[ 16%] Built target gc_LIB
[ 18%] Built target livarot_LIB
[ 18%] Generating inkscape-version.cpp
revision is 4035a4fb49, 2020-05-01
[ 18%] Building CXX object src/CMakeFiles/inkscape_base.dir/inkscape-version.cpp.o
[ 18%] Linking CXX shared library ../lib/libinkscape_base.so
[ 87%] Built target inkscape_base
[ 87%] Linking CXX executable ../bin/inkview
../lib/libinkscape_base.so: undefined reference to `GfxResources::lookupXObjectNF(char*)'
../lib/libinkscape_base.so: undefined reference to `Dict::add(char*, Object&&)'
../lib/libinkscape_base.so: undefined reference to `gmallocn'
../lib/libinkscape_base.so: undefined reference to `GooString::GooString(char const*)'
../lib/libinkscape_base.so: undefined reference to `GfxFunctionShading::getColor(double, double, GfxColor*)'
../lib/libinkscape_base.so: undefined reference to `GfxResources::lookupShading(char*, OutputDev*, GfxState*)'
../lib/libinkscape_base.so: undefined reference to `GfxResources::lookupFont(char*)'
../lib/libinkscape_base.so: undefined reference to `GfxResources::lookupGState(char*)'
../lib/libinkscape_base.so: undefined reference to `copyString'
../lib/libinkscape_base.so: undefined reference to `Parser::getObj(bool, unsigned char*, CryptAlgorithm, int, int
, int, int, bool)'
../lib/libinkscape_base.so: undefined reference to `PDFDoc::PDFDoc(GooString*, GooString*, GooString*, void*)'
../lib/libinkscape_base.so: undefined reference to `GfxState::GfxState(double, double, PDFRectangle*, int, bool)'
../lib/libinkscape_base.so: undefined reference to `GfxResources::lookupPattern(char*, OutputDev*, GfxState*)'
../lib/libinkscape_base.so: undefined reference to `gmalloc'
../lib/libinkscape_base.so: undefined reference to `Parser::Parser(XRef*, Lexer*, bool)'
../lib/libinkscape_base.so: undefined reference to `GfxState::transformWidth(double)'
../lib/libinkscape_base.so: undefined reference to `GfxResources::lookupXObject(char*)'
../lib/libinkscape_base.so: undefined reference to `gfree'
collect2: error: ld returned 1 exit status
src/CMakeFiles/inkview.dir/build.make:117: recipe for target 'bin/inkview' failed
make[2]: *** [bin/inkview] Error 1
CMakeFiles/Makefile2:1204: recipe for target 'src/CMakeFiles/inkview.dir/all' failed
make[1]: *** [src/CMakeFiles/inkview.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

--
Prakash Bhattarai