mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
update emulator portable
This commit is contained in:
parent
6b4eae3a25
commit
9c7a1f51f5
1 changed files with 6 additions and 1 deletions
|
@ -35,7 +35,12 @@ else()
|
|||
add_library(emulator STATIC ${EMULATOR_SOURCE} ${EMULATOR_HEADERS})
|
||||
endif()
|
||||
|
||||
target_link_libraries(emulator PUBLIC emulator_static git)
|
||||
if (PORTABLE)
|
||||
target_link_libraries(emulator PUBLIC emulator_static git -static-libgcc -static-libstdc++))
|
||||
else()
|
||||
target_link_libraries(emulator PUBLIC emulator_static git)
|
||||
endif()
|
||||
|
||||
generate_export_header(emulator EXPORT_FILE_NAME ${CMAKE_CURRENT_BINARY_DIR}/emulator_export.h)
|
||||
target_include_directories(emulator PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue