diff --git a/plugins/ets/runtime/CMakeLists.txt b/plugins/ets/runtime/CMakeLists.txt index ba8b55d12c932fa5ed4915d286477190f202fe86..25508bad88bc8fc7b1578ef12236212f4d130770 100644 --- a/plugins/ets/runtime/CMakeLists.txt +++ b/plugins/ets/runtime/CMakeLists.txt @@ -39,6 +39,8 @@ set(ETS_RUNTIME_SOURCES ${ETS_EXT_SOURCES}/types/ets_class.cpp ${ETS_EXT_SOURCES}/types/ets_field.cpp ${ETS_EXT_SOURCES}/types/ets_method.cpp +) +set(ETS_RUNTIME_SOURCES_PUBLIC ${ETS_EXT_SOURCES}/ets_vm_api.cpp ) @@ -59,6 +61,7 @@ elseif (PANDA_TARGET_AMD64) endif() target_sources(arkruntime_static PRIVATE ${ETS_RUNTIME_SOURCES}) +target_sources(arkruntime_static PUBLIC ${ETS_RUNTIME_SOURCES_PUBLIC}) target_include_directories(arkruntime_static PUBLIC ${PANDA_BINARY_ROOT}/cross_values ${PANDA_ETS_PLUGIN_SOURCE}/runtime/