Your first one should work. But it should be "CXX" with uppercase X characters. And the value of "TARGET" must be set prior to invoking SET_TARGET_PROPERTIES using ${TARGET} -- are you sure the value of ${TARGET} is correct...?
HTH, David On 8/7/07, Marie-Christine Vallet <[EMAIL PROTECTED]> wrote: > 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) > > > > > _______________________________________________ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake > _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake