On 03/12/2016 12:42 PM, Manu Sánchez wrote: > I'm reaching you to ask about Clang support in the FindBoost.cmake script. [snip] > if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") > execute_process(COMMAND ${CMAKE_CXX_COMPILER} --version > OUTPUT_VARIABLE out)
Thanks. Rather than running the compiler you should be able to get the version from CMAKE_CXX_COMPILER_VERSION. Please revise the logic accordingly. Actually it looks like current uses of _Boost_COMPILER_DUMPVERSION could be refactored to use CMAKE_CXX_COMPILER_VERSION too. Thanks, -Brad -- 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-developers