Hi, I am building a third party library (OpenSceneGraph) using ninja generator and Visual c++ compiler. Recently the build is failing because of the use of CMAKE_VS_PLATFORM_TOOLSET [*] to query the VS toolset used. This variable seems not to be set when using Ninja generator. My question is what is the recommended way to query for the VS toolset version, that would work for both VS and Ninja generators?
Thanks, Mourad [*] https://github.com/openscenegraph/OpenSceneGraph/commit/67ef816da00441121f7b2cb606ee19bbb1f15e80
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake