mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use BUILD_SHARED_LIB
This commit is contained in:
parent
bb788bcbc3
commit
075b4f87b9
@ -19,9 +19,5 @@ target_link_libraries(${EXECUTABLE} solidity)
|
|||||||
|
|
||||||
install( TARGETS ${EXECUTABLE} DESTINATION bin )
|
install( TARGETS ${EXECUTABLE} DESTINATION bin )
|
||||||
|
|
||||||
if (ETH_STATIC)
|
add_library(soljson jsonCompiler.cpp ${HEADERS})
|
||||||
add_library(soljson STATIC jsonCompiler.cpp ${HEADERS})
|
|
||||||
else()
|
|
||||||
add_library(soljson SHARED jsonCompiler.cpp ${HEADERS})
|
|
||||||
endif()
|
|
||||||
target_link_libraries(soljson solidity)
|
target_link_libraries(soljson solidity)
|
||||||
|
Loading…
Reference in New Issue
Block a user