I have a program write in fortran 95 that use an C library. When I use TARGET_LINK_LIBRARIES( FortranProgram CLibrary ), the FortranProgram project of the VS2008 has compiler flags incorrect. Cmake assign flags of the C compiler.<br>
When i use TARGET_LINK_LIBRARIES( FortranProgram ), the flags are correct.<br>CLibrary is in her own directory, with ADD_LIBRARY and TARGET_LINK_LIBRARIES to other C-C++ Librarys.<br><br>I use Intel Fortran y Microsoft C/C++ compilers.<br>
<br>Thanks if someone give one clue of the problem.<br><br>Sebastian<br>