Re: [CMake] Searching for an undefined symbol in library

2010-11-16 Thread Michael Wild
On 11/15/2010 06:41 PM, Marek Szuba wrote: On Mon, 15 Nov 2010 12:00:04 -0500 cmake-requ...@cmake.org wrote: How do you select which of the libraries to use? Based on your Fortran compiler? To be exact, based on the Fortran compiler used to build the binary-only library. If so, I would

[CMake] Searching for an undefined symbol in library

2010-11-15 Thread Marek Szuba
Hello, To begin with, a bit of background. The project which I've been converting to CMake depends on a certain binary-only library. This library is available in several versions, differing in what Fortran compiler has been used to produce it; to make things simple let's assume there are only two

Re: [CMake] Searching for an undefined symbol in library

2010-11-15 Thread Marek Szuba
On Mon, 15 Nov 2010 12:00:04 -0500 cmake-requ...@cmake.org wrote: How do you select which of the libraries to use? Based on your Fortran compiler? To be exact, based on the Fortran compiler used to build the binary-only library. If so, I would check for the CMAKE_Fortran_COMPILER_ID variable

Re: [CMake] Searching for an undefined symbol in library

2010-11-15 Thread Alexander Neundorf
On Monday 15 November 2010, Marek Szuba wrote: Hello, To begin with, a bit of background. The project which I've been converting to CMake depends on a certain binary-only library. This library is available in several versions, differing in what Fortran compiler has been used to produce it;