aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-04-22 17:30:33 +0800
committerchriseth <c@ethdev.com>2015-04-24 20:50:14 +0800
commitfcd3f44fd9b76c659fa0a41beeb00680e8337a5e (patch)
tree4cc96636087ff7ccdf2fda62df3db1429744ac1f /CMakeLists.txt
parentca97dcbd5be68df556f9e17f6e9d5684c79ec71a (diff)
downloaddexon-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.txt6
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)