diff options
author | rainbeam <rainbeam@riseup.net> | 2016-05-01 07:42:35 +0800 |
---|---|---|
committer | rainbeam <rainbeam@riseup.net> | 2016-05-01 07:43:16 +0800 |
commit | eb20841740d386dccf4dc663adba43994b81b810 (patch) | |
tree | cac0aa6b9ae2b8eaed1b2e1ddf43169b1dd598f9 /solc/CMakeLists.txt | |
parent | 76473808b4245f1a149ff7016a3e16a6b2e5ff12 (diff) | |
download | dexon-solidity-eb20841740d386dccf4dc663adba43994b81b810.tar.gz dexon-solidity-eb20841740d386dccf4dc663adba43994b81b810.tar.zst dexon-solidity-eb20841740d386dccf4dc663adba43994b81b810.zip |
wrap solc add_executable
Allows static linking.
Diffstat (limited to 'solc/CMakeLists.txt')
-rw-r--r-- | solc/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt index 9a914af8..fa7e0bde 100644 --- a/solc/CMakeLists.txt +++ b/solc/CMakeLists.txt @@ -6,7 +6,7 @@ include_directories(BEFORE ..) set(EXECUTABLE solc) file(GLOB HEADERS "*.h") -add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) +eth_simple_add_executable(${EXECUTABLE} ${SRC_LIST} ${HEADERS}) eth_use(${EXECUTABLE} REQUIRED Solidity::solidity) target_link_libraries(${EXECUTABLE} ${Boost_PROGRAM_OPTIONS_LIBRARIES}) |