We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
libhermes
hermesvm
1 parent b54028b commit 8538289Copy full SHA for 8538289
1 file changed
android/CMakeLists.txt
@@ -79,10 +79,18 @@ if(${JS_RUNTIME} STREQUAL "hermes")
79
80
string(APPEND CMAKE_CXX_FLAGS " -DJS_RUNTIME_HERMES=1")
81
82
- target_link_libraries(
83
- ${PACKAGE_NAME}
84
- hermes-engine::libhermes
+ if(ReactAndroid_VERSION_MINOR GREATER_EQUAL 82)
+ target_link_libraries(
+ ${PACKAGE_NAME}
85
+ hermes-engine::hermesvm
86
+ )
87
+ else()
88
89
90
+ hermes-engine::libhermes
91
)
92
+ endif()
93
+
94
95
if(${HERMES_ENABLE_DEBUGGER})
96
if(ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
0 commit comments