• Mateusz Zych's avatar
    MSVC: Respect CMAKE_RC_COMPILER and CMAKE_MT in vs_link_{dll,exe} · bd9bfc64
    Mateusz Zych authored
    CMake commands vs_link_dll and vs_link_exe, performing linking on MSVC,
    are responsible for calling resource compiler and manifest tool.
    Before this commit, both of these tools were called directly, with the
    expectation that they are available in the `PATH`. This has been fixed
    by respecting CMake variables `CMAKE_RC_COMPILER` and `CMAKE_MT`
    defining paths to these tools.
    Fixes: #17804
cmLocalGenerator.cxx 91.6 KB