evmc/CMakeLists.txt

17 lines
365 B
CMake
Raw Normal View History

2018-03-28 13:19:41 +00:00
cmake_minimum_required(VERSION 3.5)
if(TARGET evmc)
# The evmc library has been already created (probably by other submodule).
return()
endif()
2018-03-28 13:19:41 +00:00
project(evmc)
add_library(evmc INTERFACE)
target_include_directories(evmc INTERFACE include)
option(EVMC_BUILD_EXAMPLES "Build EVMC examples" ON)
if(EVMC_BUILD_EXAMPLES)
add_subdirectory(examples)
endif()