[CMake] cmake thinks mingw-64 gfortran on Windows is broken

2018-03-09 Thread Ondřej Čertík
Hi, I have previously reported the issue here: https://gitlab.kitware.com/cmake/cmake/issues/17810 I was told to follow https://blog.kitware.com/fortran-for-cc-developers-made-easier-with-cmake/. I did in fact follow it. Just to be sure, I tried the `-DCMAKE_GNUtoMS=ON -DBUILD_SHARED_LIBS=ON`

Re: [CMake] What is the recommended ways to find libraries

2015-06-17 Thread Ondřej Čertík
Hi Oto, On Wed, Jun 17, 2015 at 11:18 AM, Oto Petřík wrote: > Hi, > >> Let's say my project wants to depend on a library PKG1 (here PKG1 can >> be MPFR, MPC, PTHREAD, GMP, BZIP2, you name it). Let's say the library >> is installed in $PKG1/include, $PKG1/lib, alternatively, all my >> dependencies

[CMake] What is the recommended ways to find libraries

2015-06-11 Thread Ondřej Čertík
Hi, What is the official recommended way to make your project depend on other libraries using cmake? Let's say my project wants to depend on a library PKG1 (here PKG1 can be MPFR, MPC, PTHREAD, GMP, BZIP2, you name it). Let's say the library is installed in $PKG1/include, $PKG1/lib, alternatively