On Wed, Jun 6, 2012 at 3:48 AM, Stephen Kelly <steve...@gmail.com> wrote: > This seems to have caused todays failures: > > http://open.cdash.org/buildSummary.php?buildid=2337242 > * Does the test pass if you replace > > if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 3.4) > with > if(NOT CMAKE_${lang}_COMPILER_VERSION VERSION_LESS 3.4)
That fixes it. The test does check_cxx_source_compiles. Inside the try_compile it will enable only CXX and not C so testing CMAKE_C_COMPILER_VERSION does not make sense. -Brad -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers