mirror of
https://github.com/status-im/evmc.git
synced 2025-02-24 00:48:09 +00:00
Merge pull request #8 from ethereum/nested-evmc
CMake: Support multiple evmc project instances
This commit is contained in:
commit
93fb8687e6
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user