diff --git a/eng/native/configuretools.cmake b/eng/native/configuretools.cmake index 9024cb07d15aae..2a02d1110f7270 100644 --- a/eng/native/configuretools.cmake +++ b/eng/native/configuretools.cmake @@ -28,8 +28,8 @@ if(NOT WIN32 AND NOT CLR_CMAKE_TARGET_BROWSER) return() endif() + unset(EXEC_LOCATION_${exec} CACHE) find_program(EXEC_LOCATION_${exec} - NO_CACHE NAMES "${TOOLSET_PREFIX}${exec}${CLR_CMAKE_COMPILER_FILE_NAME_VERSION}" "${TOOLSET_PREFIX}${exec}")