diff --git a/solc/CMakeLists.txt b/solc/CMakeLists.txt index 9a914af86..fa7e0bde2 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})