From 075b4f87b953deace046be4e9ff4e621fb588654 Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 22 Apr 2015 11:30:33 +0200 Subject: [PATCH] Use BUILD_SHARED_LIB --- CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 177823963..c8e74ed71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,9 +19,5 @@ target_link_libraries(${EXECUTABLE} solidity) install( TARGETS ${EXECUTABLE} DESTINATION bin ) -if (ETH_STATIC) - add_library(soljson STATIC jsonCompiler.cpp ${HEADERS}) -else() - add_library(soljson SHARED jsonCompiler.cpp ${HEADERS}) -endif() +add_library(soljson jsonCompiler.cpp ${HEADERS}) target_link_libraries(soljson solidity)