Splash headers not copied to install directory target
I'm trying to build poppler for both arm64 and x86, on a macOS m1 (arm64), with Qt 6.3.2. Everything goes well except that when I do a sudo make install
, I don't have a include/poppler/splash
directory (and the headers coming with) in the target directory (where it is included when using macPorts for example, or even on Linux with official packages)
cmake .. -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
make -j8
sudo make install
The install_manifest.txt :
/opt/local/lib/libpoppler.126.0.0.dylib
/opt/local/lib/libpoppler.126.dylib
/opt/local/lib/libpoppler.dylib
/opt/local/bin/pdftoppm
/opt/local/share/man/man1/pdftoppm.1
/opt/local/bin/pdftocairo
/opt/local/share/man/man1/pdftocairo.1
/opt/local/bin/pdfdetach
/opt/local/share/man/man1/pdfdetach.1
/opt/local/bin/pdfattach
/opt/local/share/man/man1/pdfattach.1
/opt/local/bin/pdffonts
/opt/local/share/man/man1/pdffonts.1
/opt/local/bin/pdfimages
/opt/local/share/man/man1/pdfimages.1
/opt/local/bin/pdfinfo
/opt/local/share/man/man1/pdfinfo.1
/opt/local/bin/pdfsig
/opt/local/share/man/man1/pdfsig.1
/opt/local/bin/pdftops
/opt/local/share/man/man1/pdftops.1
/opt/local/bin/pdftotext
/opt/local/share/man/man1/pdftotext.1
/opt/local/bin/pdftohtml
/opt/local/share/man/man1/pdftohtml.1
/opt/local/bin/pdfseparate
/opt/local/share/man/man1/pdfseparate.1
/opt/local/bin/pdfunite
/opt/local/share/man/man1/pdfunite.1
/opt/local/lib/libpoppler-glib.8.24.0.dylib
/opt/local/lib/libpoppler-glib.8.dylib
/opt/local/lib/libpoppler-glib.dylib
/opt/local/include/poppler/glib/poppler-action.h
/opt/local/include/poppler/glib/poppler-date.h
/opt/local/include/poppler/glib/poppler-document.h
/opt/local/include/poppler/glib/poppler-page.h
/opt/local/include/poppler/glib/poppler-attachment.h
/opt/local/include/poppler/glib/poppler-form-field.h
/opt/local/include/poppler/glib/poppler-annot.h
/opt/local/include/poppler/glib/poppler-layer.h
/opt/local/include/poppler/glib/poppler-movie.h
/opt/local/include/poppler/glib/poppler-media.h
/opt/local/include/poppler/glib/poppler.h
/opt/local/include/poppler/glib/poppler-structure-element.h
/opt/local/include/poppler/glib/poppler-enums.h
/opt/local/include/poppler/glib/poppler-features.h
/opt/local/include/poppler/glib/poppler-macros.h
/opt/local/share/gir-1.0/Poppler-0.18.gir
/opt/local/lib/girepository-1.0/Poppler-0.18.typelib
/opt/local/lib/libpoppler-qt6.3.2.0.dylib
/opt/local/lib/libpoppler-qt6.3.dylib
/opt/local/lib/libpoppler-qt6.dylib
/opt/local/include/poppler/qt6/poppler-qt6.h
/opt/local/include/poppler/qt6/poppler-link.h
/opt/local/include/poppler/qt6/poppler-annotation.h
/opt/local/include/poppler/qt6/poppler-form.h
/opt/local/include/poppler/qt6/poppler-optcontent.h
/opt/local/include/poppler/qt6/poppler-page-transition.h
/opt/local/include/poppler/qt6/poppler-media.h
/opt/local/include/poppler/qt6/poppler-export.h
/opt/local/include/poppler/qt6/poppler-version.h
/opt/local/lib/libpoppler-cpp.0.11.0.dylib
/opt/local/lib/libpoppler-cpp.0.dylib
/opt/local/lib/libpoppler-cpp.dylib
/opt/local/include/poppler/cpp/poppler-destination.h
/opt/local/include/poppler/cpp/poppler-document.h
/opt/local/include/poppler/cpp/poppler-embedded-file.h
/opt/local/include/poppler/cpp/poppler-font.h
/opt/local/include/poppler/cpp/poppler-font-private.h
/opt/local/include/poppler/cpp/poppler-global.h
/opt/local/include/poppler/cpp/poppler-image.h
/opt/local/include/poppler/cpp/poppler-page.h
/opt/local/include/poppler/cpp/poppler-page-renderer.h
/opt/local/include/poppler/cpp/poppler-page-transition.h
/opt/local/include/poppler/cpp/poppler-rectangle.h
/opt/local/include/poppler/cpp/poppler-toc.h
/opt/local/include/poppler/cpp/poppler_cpp_export.h
/opt/local/include/poppler/cpp/poppler-version.h
/opt/local/lib/pkgconfig/poppler.pc
/opt/local/lib/pkgconfig/poppler-qt6.pc
/opt/local/lib/pkgconfig/poppler-glib.pc
/opt/local/lib/pkgconfig/poppler-cpp.pc
Note that I'm using latest source code and I can see the last commit changes in the CMakeList.txt :
endif()
install(FILES
splash/Splash.h
...
splash/SplashXPathScanner.h
DESTINATION include/poppler/splash)
I'm not really familiar with cmake so I'm not sure these last install instructions are supposed to be played by default or if I need to use a cmake option for that. Is it the expected behavior and I need to copy them myself "by hand" ?
Thanks in advance for your help.