evmc/examples/use_instructions_in_cmake/CMakeLists.txt

15 lines
473 B
CMake

# EVMC: Ethereum Client-VM Connector API.
# Copyright 2018-2019 The EVMC Authors.
# Licensed under the Apache License, Version 2.0.
# This example shows how to use evmc::instructions library from evmc CMake package.
cmake_minimum_required(VERSION 3.5)
project(use_instructions_in_cmake)
find_package(evmc CONFIG REQUIRED)
add_executable(use_instructions_in_cmake use_instructions_in_cmake.c)
target_link_libraries(use_instructions_in_cmake PRIVATE evmc::instructions)