Merge pull request #8 from ethereum/nested-evmc

CMake: Support multiple evmc project instances
This commit is contained in:
Paweł Bylica 2018-04-09 20:02:19 +02:00 committed by GitHub
commit 93fb8687e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,10 @@
cmake_minimum_required(VERSION 3.5) cmake_minimum_required(VERSION 3.5)
if(TARGET evmc)
# The evmc library has been already created (probably by other submodule).
return()
endif()
project(evmc) project(evmc)
add_library(evmc INTERFACE) add_library(evmc INTERFACE)