I need you experts' help to use the rule cmake in a specific way.
The project to use rule cmake(), called XXXX, need a library called "libacl". But I cannot simply install the libacl by apt.
I use cc_import() to create a library with shared_library and header files. I wrote a demo file to use the cc_import library which is OK to use. The <sys/acl.h> can be found.
But if I simply add a argument "@libacl//:libacl" just like I used in the demo code in the XXXX project with cmake(). It didn't work.
From the cmake log, I can see that the libacl project was copied to the ext_build_deps folder. But after I enabled the verbose of cmake, the include path of the "libacl" was not passed to gcc.
"-I" parameter is only followed by the XXXX's include path.
Dear all,
I need you experts' help to use the rule cmake in a specific way.
From the cmake log, I can see that the libacl project was copied to the ext_build_deps folder. But after I enabled the verbose of cmake, the include path of the "libacl" was not passed to gcc.
"-I" parameter is only followed by the XXXX's include path.
How should I use rule cmake in this case?