[CMake] CMAKE_FORCE_CXX_COMPILER question

Buonopane, Robert Robert_Buonopane at bmc.com
Thu Feb 18 10:41:17 EST 2010


Hi:
Running CMAKE 2.6
In my project level CMakeList.txt file I have:
   INCLUDE (CMakeForceCompiler)
   CMAKE_FORCE_CXX_COMPILER(g++ GNU)

When I build on my Linux platform it compiles and links with g++ which is what I want.
When I build on my Solaris10 platform it compiles with g++ BUT links with gcc.

Is this a bug?
Are my expectations wrong?

Thanks
bob


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100218/13debe44/attachment.htm>


More information about the CMake mailing list