I have:
set_target_properties(
    daalplugincontainer
    PROPERTIES
       VERSION 2.5
#       SOVERSION 1
       HAS_CXX yes
)

But Solaris10 still uses the default gcc instead of the g++ that I want.
Any other thoughts on this?

Thanks
Bob

From: [email protected] [mailto:[email protected]] On Behalf Of 
Ryan Pavlik
Sent: Thursday, February 18, 2010 12:00 PM
To: [email protected]
Subject: Re: [CMake] CMAKE_FORCE_CXX_COMPILER question

On 2/18/10 9:41 AM, Buonopane, Robert wrote:
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

There is a separate setting to force which linker to use.
set_target_properties(targetname PROPERTIES HAS_CXX yes)

Ryan


--

Ryan Pavlik

Human-Computer Interaction Graduate Student

Virtual Reality Applications Center

Iowa State University



[email protected]<mailto:[email protected]>

http://academic.cleardefinition.com/
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to