mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Define BOOST_TEST_DYN_LINK for building soltest if Boost_USE_STATIC_LIBS is not set.
This commit is contained in:
parent
b89365282b
commit
9d11557dc9
@ -24,4 +24,8 @@ add_executable(soltest ${sources} ${headers}
|
||||
)
|
||||
target_link_libraries(soltest PRIVATE libsolc solidity lll evmasm devcore ${Boost_UNIT_TEST_FRAMEWORK_LIBRARIES})
|
||||
|
||||
if (NOT Boost_USE_STATIC_LIBS)
|
||||
target_compile_definitions(soltest PUBLIC -DBOOST_TEST_DYN_LINK)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tools)
|
||||
|
Loading…
Reference in New Issue
Block a user