How to include <officecfg/Office/Common.hxx> in a unit test?

Stephan Bergmann sbergman at redhat.com
Tue Feb 12 14:51:17 UTC 2019


On 12/02/2019 15:33, Regina Henschel wrote:
> So I have added the include #include <officecfg/Office/Common.hxx> in 
> sd/qa/unit/misc-tests.cxx too. But I get the error:
>   fatal error C1083: Cannot open include file: 
> 'officecfg/Office/Common.hxx': No such file or directory
> 
> What do I miss?

Add

> $(eval $(call gb_CppunitTest_use_custom_headers,..., \
>     officecfg/registry \
> ))

to the corresponding CppunitTest_....mk file.


More information about the LibreOffice mailing list