On Sep 19, 2014, at 8:18 AM, René J.V. Bertin <[email protected]> wrote:

> On Friday September 19 2014 10:56:20 Lawrence Velázquez wrote:
> 
>> 
>> So does the CMake build add -I arguments for the included headers or not? 
>> Can you add them?
>> 
> 
> For me it didn't, and I honestly have no idea how to add them if the existing 
> CMake code doesn't already.
> I could put my Portfile on trac so that someone more intimate with MacPorts' 
> internals (and CMake file writing) can have a look, is that an idea?

Have you tried configure.cppflags [1]?

configure.cppflags  -I${worksrcpath}/include
or
configure.cppflags  "-I${worksrcpath}/include -I${prefix}/include"


Regards,
Bradley Giesbrecht (pixilla)

[1] https://guide.macports.org/index.html#reference.phases.configure

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to