wrap solc add_executable

Allows static linking.
This commit is contained in:
rainbeam 2016-05-01 00:42:35 +01:00
parent 76473808b4
commit eb20841740

View File

@ -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})