Skip to content

Commit b1331e3

Browse files
Fix Hermes build to use correct compilers on macOS
1 parent 41b708b commit b1331e3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/HermesExternal.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ else()
107107
LOG_BUILD ON
108108
LOG_OUTPUT_ON_FAILURE ON
109109
UPDATE_DISCONNECTED ON
110+
ENV CC ${CMAKE_C_COMPILER}
111+
ENV CXX ${CMAKE_CXX_COMPILER}
110112
)
111113

112114
# Set tool paths (these will be valid after Hermes is built)

0 commit comments

Comments
 (0)