diff --git a/compiler-rt/cmake/Modules/AddCompilerRT.cmake b/compiler-rt/cmake/Modules/AddCompilerRT.cmake index bd1499b4b4d8..0b8db6a868a1 100644 --- a/compiler-rt/cmake/Modules/AddCompilerRT.cmake +++ b/compiler-rt/cmake/Modules/AddCompilerRT.cmake @@ -583,6 +583,9 @@ macro(add_custom_libcxx name prefix) CMAKE_OBJDUMP CMAKE_STRIP CMAKE_SYSROOT + PYTHON_EXECUTABLE + Python3_EXECUTABLE + Python2_EXECUTABLE CMAKE_SYSTEM_NAME) foreach(variable ${PASSTHROUGH_VARIABLES}) get_property(is_value_set CACHE ${variable} PROPERTY VALUE SET)