Re: [CMake] CMAKE_SIZEOF_VOID_P question

2017-04-15 Thread Ghislain Vaillant
> Next question is then why doesn't GNUInstallDirs set > CMAKE_INSTALL_LIBDIR as I expect on Ubuntu for the example I gave? > > I am expecting to see either lib64/lib (for 64/32 bit) or a triplet for > (32-bit). Now it's always 'lib'. Debian / Ubuntu injects this additional triplet for multiarc

[CMake] Platform-independent config package

2017-01-10 Thread Ghislain Vaillant
Dear all, I am currently hit by an issue with the CMake detection of a header-only library [1]. The library is built on a 64-bit machine and packaged for all other architectures supported by Debian. However, CMake detection fails on 32-bit platforms with the following error: ``` Any attempt to c

[CMake] Comments and improvement on find modules

2015-12-22 Thread Ghislain Vaillant
Dear CMake users, I have recently written a set of find modules [1][2][3] for dependencies I use for the project I am currently working on. I made sure to write them in a style that is close to what is currently maintained in CMake, with the goal to submit them for inclusion upstream and benef