cmake order of includes

Bradley Giesbrecht pixilla at
Sat Feb 20 09:18:28 PST 2016

When building mysql56 with the bundled yassl instead of macports openssl, cmake finds the openssl headers in prefix before the bundled yassl headers in worksrcpath because cmake is including prefix/include before the bundled yassl/include resulting in a build error.

Is there a standard way to correct this?

The mysql56 port patches cmake/install_layout.cmake and adding the worksrcpath include path there does work. Does a port or cmake port group variable/method exist to fix this or is patching the way to go?

Bradley Giesbrecht (pixilla)

More information about the macports-dev mailing list