mirror of
https://github.com/status-im/evmc.git
synced 2025-02-23 08:28:15 +00:00
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…
x
Reference in New Issue
Block a user