aboutsummaryrefslogtreecommitdiffstats
path: root/solc/CMakeLists.txt
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 /solc/CMakeLists.txt
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 'solc/CMakeLists.txt')
-rw-r--r--solc/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt
index df72f52d..73dc4b6f 100644
--- a/solc/CMakeLists.txt
+++ b/solc/CMakeLists.txt
@@ -13,11 +13,10 @@ set(EXECUTABLE solc)
file(GLOB HEADERS "*.h")
add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS})
-add_dependencies(${EXECUTABLE} BuildInfo.h)
+eth_use(${EXECUTABLE} REQUIRED EthCore)
-target_link_libraries(${EXECUTABLE} ${Boost_FILESYSTEM_LIBRARIES})
-target_link_libraries(${EXECUTABLE} ${Boost_PROGRAM_OPTIONS_LIBRARIES})
target_link_libraries(${EXECUTABLE} solidity)
+target_link_libraries(${EXECUTABLE} ${Boost_PROGRAM_OPTIONS_LIBRARIES})
if (APPLE)
install(TARGETS ${EXECUTABLE} DESTINATION bin)