diff options
author | chriseth <c@ethdev.com> | 2015-04-22 17:30:33 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-04-24 20:50:14 +0800 |
commit | fcd3f44fd9b76c659fa0a41beeb00680e8337a5e (patch) | |
tree | 4cc96636087ff7ccdf2fda62df3db1429744ac1f /CMakeLists.txt | |
parent | ca97dcbd5be68df556f9e17f6e9d5684c79ec71a (diff) | |
download | dexon-solidity-fcd3f44fd9b76c659fa0a41beeb00680e8337a5e.tar.gz dexon-solidity-fcd3f44fd9b76c659fa0a41beeb00680e8337a5e.tar.zst dexon-solidity-fcd3f44fd9b76c659fa0a41beeb00680e8337a5e.zip |
Use BUILD_SHARED_LIB
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0abd188c..3d31331a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) |