Thanks, Šimon. Unfortunately, I tried all of the CMakeCache.txt
openscap-related vars and none worked.
What finally did work was to tell pkg-config where to look:

export PKG_CONFIG_PATH=/home/fen/workspace/security/openscap/

...and then cmake and the build process completed successfully.

=Fen


On Tue, Nov 14, 2017 at 3:39 AM, Šimon Lukašík <[email protected]> wrote:

> On 11/13/2017 05:43 PM, Fen Labalme wrote:
> > I've compiled openscap and the SSG locally and they work great. I'd like
> > to try scap-workbench but cmake complains "No package 'libopenscap'
> > found" despite having run "make install" on openscap.
> >
> > Running openscap 1.2.15 on Arch linux. I tried setting the libdir but it
> > still failed similarly:
> >
> > cmake -DOPENSCAP_libopenscap_LIBDIR=/usr/local/lib \
> >       -DOPENSCAP_libopenscap_INCLUDEDIR=/usr/local/include/openscap ../
>
> I opened CMakeLists.txt and it seems that OPENSCAP_LIBRARIES and
> OPENSCAP_INCLUDE_DIRS could be better bet than
> OPENSCAP_libopenscap_LIBDIR and OPENSCAP_libopenscap_INCLUDEDIR.
>
> I did not try thou.
>
> ~š.
>
_______________________________________________
Open-scap-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/open-scap-list

Reply via email to