tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: cmake and buildlink
Greg Troxel <gdt%lexort.com@localhost> wrote:
> Robert Swindells <rjs%fdy2.co.uk@localhost> writes:
>> I am trying to get wip/py-pyside-setup to build.
>>
>> It generates some source files for bindings to Qt5 then tries to
>> compile those source files. This fails as the cmake scripts within
>> the package are not setup to look in the work/.buildlink directory
>> for headers.
>>
>> Are there any other packages that do something similar that I can copy?
>
> First, change to devel/cmake/build.mk.
I had already done that.
> Are you saying that cmake is looking in $prefix/include and not seeing
> things in work/.buildlink/include?
Yes, but only for the sources generated during the build.
The files explicitly listed in CMakefiles do seem to look in
work/.buildlink/include, at least it looks like it from the warnings
generated during compilation.
Home |
Main Index |
Thread Index |
Old Index