cmake_policy(SET CMP0015 NEW) aux_source_directory(. SRC_LIST) include_directories(..) set(EXECUTABLE sc) add_executable(${EXECUTABLE} ${SRC_LIST}) target_link_libraries(${EXECUTABLE} serpent) target_link_libraries(${EXECUTABLE} lll) target_link_libraries(${EXECUTABLE} evmcore) target_link_libraries(${EXECUTABLE} devcore) install( TARGETS ${EXECUTABLE} DESTINATION bin )