aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorarkpar <arkady.paronyan@gmail.com>2015-08-24 21:51:52 +0800
committerarkpar <arkady.paronyan@gmail.com>2015-08-24 21:51:52 +0800
commit3ea1a62fa98e57cc2b882c8593c7d58cd8dd4701 (patch)
tree8c5f2d6800c0b254c2dfbd1a1111562cffbbd665 /libsolidity
parent289b8146703521943e6106e5d3f178deb0117652 (diff)
downloaddexon-solidity-3ea1a62fa98e57cc2b882c8593c7d58cd8dd4701.tar.gz
dexon-solidity-3ea1a62fa98e57cc2b882c8593c7d58cd8dd4701.tar.zst
dexon-solidity-3ea1a62fa98e57cc2b882c8593c7d58cd8dd4701.zip
Refactoreed CMakeLists for new module system
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/CMakeLists.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/libsolidity/CMakeLists.txt b/libsolidity/CMakeLists.txt
index 159405a2..fa1fd233 100644
--- a/libsolidity/CMakeLists.txt
+++ b/libsolidity/CMakeLists.txt
@@ -10,15 +10,12 @@ set(EXECUTABLE solidity)
file(GLOB HEADERS "*.h")
include_directories(BEFORE ..)
+include_directories(BEFORE ${JSONCPP_INCLUDE_DIRS})
add_library(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
-add_dependencies(${EXECUTABLE} BuildInfo.h)
+
+eth_use(${EXECUTABLE} REQUIRED EthCore)
target_link_libraries(${EXECUTABLE} ${JSONCPP_LIBRARIES})
-target_link_libraries(${EXECUTABLE} ${Boost_LIBRARIES})
-target_link_libraries(${EXECUTABLE} ${ETH_DEVCORE_LIBRARY})
-target_link_libraries(${EXECUTABLE} ${ETH_EVMCORE_LIBRARY})
-target_link_libraries(${EXECUTABLE} ${ETH_EVMASM_LIBRARY})
-target_link_libraries(${EXECUTABLE} ${ETH_DEVCRYPTO_LIBRARY})
install( TARGETS ${EXECUTABLE} RUNTIME DESTINATION bin ARCHIVE DESTINATION lib LIBRARY DESTINATION lib )
install( FILES ${HEADERS} DESTINATION include/${EXECUTABLE} )