[CMake] LINKER_LANGUAGE Fortran C CXX project

Marie-Christine Vallet mmvallet at ucdavis.edu
Tue Aug 7 14:02:27 EDT 2007


Hi,
I have C++ Fortran project, and cannot seem to set the  linker_language 
of the project. What am I doing wrong?
Any suggestion?
Thanks,
Marie



--- CMakeLists.txt
PROJECT(skinmesh Fortran CXX C ) # the name of your project

SET_TARGET_PROPERTIES(${TARGET}
        PROPERTIES
        LINKER_LANGUAGE Cxx)


-----------------------------------------------------------

I also tried this but it does not work either.

--- CMakeLists.txt
PROJECT(skinmesh Fortran CXX C ) # the name of your project

SET(LINKER_LANGUAGE CXX)






More information about the CMake mailing list