[osg-users] Call for testing, preparing for 3.5.6 dev release again :-)
Mourad Boufarguine
mourad.boufarguine at gmail.com
Mon May 15 05:10:20 PDT 2017
Hi Robert,
I think it is more correct to use the same logic (testing against the
compiler version CMAKE_CXX_COMPILER_VERSION ) as in the mainstream
FindBoost.cmake :
https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake#L432-L453
Cheers,
Mourad
On Mon, May 15, 2017 at 2:08 PM, Robert Osfield <robert.osfield at gmail.com>
wrote:
> Hi Mourad,
>
> On 15 May 2017 at 12:58, Mourad Boufarguine
> <mourad.boufarguine at gmail.com> wrote:
> > CMAKE_VS_PLATFORM_TOOLSET is not set unless the user explicitely
> specifies a
> > toolset when invoking cmake :
> >
> > cmake -G "Visual Studio XX" -T v1YY srcDir
> >
> > If the user does not specify a toolset, the default toolset of the chosen
> > Visual Studio version will be used, but the CMAKE_VS_PLATFORM_TOOLSET
> > variable will not be set, and this is what is causing the problem here.
>
> Thanks for the clarification.
>
> Looks like we'll need to rewrite this problem block for the case when
> CMAKE_VS_PLATFORM_TOOLSET is not set.
>
> Don't yet know what this might be though...
>
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170515/dffc4725/attachment-0003.htm>
More information about the osg-users
mailing list