Ticket #48331: patch-Modules-CMakeDetermineCompilerId.cmake.release.diff
File patch-Modules-CMakeDetermineCompilerId.cmake.release.diff, 660 bytes (added by ryandesign (Ryan Carsten Schmidt), 9 years ago) |
---|
-
Modules/CMakeDetermineCompilerId.cmake
Do not bail if the compiler id is specified twice in the test file. This allows cmake compiler detection to work even when building universal. http://public.kitware.com/pipermail/cmake-developers/2015-September/026586.html
old new 435 435 foreach(info ${CMAKE_${lang}_COMPILER_ID_STRINGS}) 436 436 if("${info}" MATCHES "INFO:compiler\\[([^]\"]*)\\]") 437 437 if(COMPILER_ID) 438 set(COMPILER_ID_TWICE 1)439 438 endif() 440 439 set(COMPILER_ID "${CMAKE_MATCH_1}") 441 440 endif()