From e4884dd2ffeeaa383cf60e3b0b73fdd6424075ce Mon Sep 17 00:00:00 2001 From: Adeel <3840695+am11@users.noreply.github.com> Date: Fri, 15 Jul 2022 10:26:55 +0300 Subject: [PATCH] Disable caching in find_program --- eng/native/configuretools.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/eng/native/configuretools.cmake b/eng/native/configuretools.cmake index 4f9361cc5a4f69..9024cb07d15aae 100644 --- a/eng/native/configuretools.cmake +++ b/eng/native/configuretools.cmake @@ -29,6 +29,7 @@ if(NOT WIN32 AND NOT CLR_CMAKE_TARGET_BROWSER) endif() find_program(EXEC_LOCATION_${exec} + NO_CACHE NAMES "${TOOLSET_PREFIX}${exec}${CLR_CMAKE_COMPILER_FILE_NAME_VERSION}" "${TOOLSET_PREFIX}${exec}")