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. When i use TARGET_LINK_LIBRARIES( FortranProgram ), the flags are correct. CLibrary is in her own directory, with ADD_LIBRARY and TARGET_LINK_LIBRARIES to other C-C++ Librarys.
I use Intel Fortran y Microsoft C/C++ compilers. Thanks if someone give one clue of the problem. Sebastian
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
