Merge pull request #344 from PatriceJiang/v3.7.2-hmi

support dynamic library loading
This commit is contained in:
江战 2023-04-24 14:34:43 +08:00 committed by GitHub
commit 0fd7ff8de9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -84,7 +84,8 @@ if(USE_SE_V8)
IMPORTED_LOCATION ${platform_spec_path}/v8/libinspector.a
INTERFACE_INCLUDE_DIRECTORIES ${platform_spec_path}/include/v8
)
set(se_libs_name v8_monolith v8_inspector)
set(se_libs_name v8_monolith)
set(se_libs_include ${platform_spec_path}/include/v8)
endif()
if(USE_WEBSOCKET_SERVER)
@ -160,7 +161,9 @@ endif()
set(ZLIB z)
if(NOT USE_MODULES)
list(APPEND CC_EXTERNAL_LIBS ${ZLIB} ${se_libs_name})
list(APPEND CC_EXTERNAL_LIBS ${ZLIB}
${se_libs_name}
)
endif()