mirror of https://github.com/status-im/evmc.git
CMake: Support multiple evmc project instances
This commit is contained in:
parent
e7923a2f3e
commit
594804d1d7
|
@ -1,5 +1,10 @@
|
|||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
if(TARGET evmc)
|
||||
# The evmc library has been already created (probably by other submodule).
|
||||
return()
|
||||
endif()
|
||||
|
||||
project(evmc)
|
||||
|
||||
add_library(evmc INTERFACE)
|
||||
|
|
Loading…
Reference in New Issue