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:
1 parent
ca97dcbd5b
commit
fcd3f44fd9
1 file changed
+1
-5
+1
-5
@@ -19,11 +19,7 @@ set(EXECUTABLE solidity)
|
||||
|
||||
file(GLOB HEADERS "*.h")
|
||||
|
||||
if (ETH_STATIC)
|
||||
add_library(${EXECUTABLE} STATIC ${SRC_LIST} ${HEADERS})
|
||||
else()
|
||||
add_library(${EXECUTABLE} SHARED ${SRC_LIST} ${HEADERS})
|
||||
endif()
|
||||
add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
|
||||
|
||||
target_link_libraries(${EXECUTABLE} ${JSONCPP_LIBRARIES})
|
||||
target_link_libraries(${EXECUTABLE} evmcore)
|
||||
|
||||
Reference in new issue
Block a user