Re: [CMake] Contribute Find-module to CMake vs Config-file to upstream

2018-05-24 Thread Paul Fultz II via CMake
> On May 24, 2018, at 8:07 AM, Brad King wrote: > > On 05/22/2018 10:06 PM, Paul Fultz II wrote: >> Or pkg-config could be extended to fix the issues. > > The `.pc` file format is too flat to lend itself well to representing > all the information we need. What do you mean? What information c

[CMake] (no subject)

2018-05-24 Thread Darrell Langford via CMake
http://excellent.trackthatboat.com Darrell Langford -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit

[CMake] Unresolved symbol VerifyFortran with clang C compiler and xlf_r Fortran compiler

2018-05-24 Thread David Wootton
I'm trying to build the lapack library I obtained from http://www.netlib.org/lapack/lapack-3.8.0.tar.gz. using the clang C compiler and the xlf Fortran compiler with cmake 3.11. I'm using a Power 9 Linux system running Red Hat 7 The default behavior for the xlf compiler is to mangle Fortran so

Re: [CMake] problem with CMake not including library's path (with pkg-config)

2018-05-24 Thread Andreas Naumann
Dear Francesco, I use the pkg-config module with IPopt and had the same problem. According to the documentation, the library paths are in _LIBRARY_DIRS. In your case, you should find the paths in the variable AGG_LIBRARY_DIRS or all flags in the variable  AGG_LDFLAGS . Regards, Andreas Am 24

[CMake] problem with CMake not including library's path (with pkg-config)

2018-05-24 Thread Francesco Abbate
Hi all, I stumbled in a problem with CMake. Everything is working fine except that, for two libraries that I locate with pkg-config, cmake does not include during linking the library's path (-L) which is given by pkg-config. Here an extract of the CMakeLists.txt: [...] include(FindPkgConfig)

Re: [CMake] Contribute Find-module to CMake vs Config-file to upstream

2018-05-24 Thread Brad King
On 05/22/2018 10:06 PM, Paul Fultz II wrote: > Or pkg-config could be extended to fix the issues. The `.pc` file format is too flat to lend itself well to representing all the information we need. A goal of `.cps` files is to teach pkg-config to parse them and respond to its standard queries with

Re: [CMake] Contribute Find-module to CMake vs Config-file to upstream

2018-05-24 Thread Mateusz Loskot
On 24 May 2018 at 08:45, Elvis Stansvik wrote: > Den ons 23 maj 2018 17:18Mateusz Loskot skrev: >> On 23 May 2018 at 16:37, David Demelier wrote: >> > On Mon, 2018-05-21 at 19:39 +0200, Mateusz Loskot wrote: >> >> >> >> >> >> IMHO, CMake should encourage contributions of new Find-modules. >> > >