[CMake] Using find_package() portably?

Carsten Fuchs carsten.fuchs at cafu.de
Tue Dec 5 04:19:56 EST 2017


Hi,

Am 2017-12-05 um 01:27 schrieb R0b0t1:
> Are you able to link to your project? I am interested in how you have 
> set up your build system.

https://www.cafu.de

If you're specifically looking at the SCons scripts, please note that 
they historically grew and are not perfect either: Especially, I used to 
use custom builds of quasi all direct external dependencies under Linux 
either, using only libpng and zlib from the system. This was mainly 
motivated by the fact that I needed to ship them for Windows anyways, 
the system's versions were in some cases very outdated (if available at 
all) and that I sometimes added a fix or patch here and there. 
Especially wxWidgets is a special case of which I plan to use the 
system's copy in the future; this in turn will make it possible to also 
use other system libraries as well.

Best regards,
Carsten


More information about the CMake mailing list