• Brad King's avatar
    Quote ${CMAKE_<LANG>_COMPILER} while enabling a language · 705ae004
    Brad King authored
    Even though this variable gets set to CMAKE_<LANG>_COMPILER-NOTFOUND when
    the compiler is not found, CMake<LANG>Compiler.cmake gets removed by
    cmGlobalGenerator::EnableLanguage so in try compiles the value is empty.
    Quote references to the variable in
    to avoid dropping arguments from commands that expect them.
CMakeCXXInformation.cmake 10.4 KB