[CMake] 2.4.7 SetLang test failure on Tru64 UNIX 5.1
Alexander Neundorf
a.neundorf-work at gmx.net
Thu Sep 20 16:49:30 EDT 2007
On Thursday 20 September 2007 16:41, Albert Chin wrote:
> The SetLang test fails on Tru64 UNIX because the C++ compiler invokes
> the C compiler to build Tests/SetLang/bar.c. The C++ compiler can be
> used if we force it with "-x cxx". How do I do this to get this test
> to pass?
You could add the -x cxx flags to the CMAKE_CXX_COMPILE_OBJECT variable, so it
is always used when compiling a C++ file.
You could add a Modules/Platform/Tru64-cxx.cmake file and do it there.
Bye
Alex
More information about the CMake
mailing list