[CMake] [SOLVED] LINKER_LANGUAGE Fortran C CXX project

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


David Cole wrote:
> The first argument of SET_TARGET_PROPERTIES should be the same as the
> first argument of your ADD_LIBRARY or ADD_EXECUTABLE command.
>
> You need one SET_TARGET_PROPERTIES for each library or executable
> target where you have a mixture of C, CXX and Fortran code...
>
> HTH,
> David
>
>   

that was what I tried first, but did not know I had to add it after the
ADD_EXECUTABLE ( skinmesh
 ${skinmesh_SRCS}
 )
 I added these few lines after this part, and now I works,
Thanks,
Marie


More information about the CMake mailing list