• Brad King's avatar
    CMakeDetermine*Compiler: Remove temporary cache entry · 332771c9
    Brad King authored
    When the user or toolchain file sets CMAKE_<LANG>_COMPILER to a name
    without a path we use find_program with CMAKE_<LANG>_COMPILER_WITH_PATH
    to search for the tool.  Remove the temporary cache entry afterward to
    avoid exposing it to projects.  It is not set by other logic paths so no
    one should be using it.
CMakeDetermineFortranCompiler.cmake 9.76 KB