mirror of https://github.com/status-im/evmc.git
cmake: Add example_vm.h file to CMake targets
This commit is contained in:
parent
7074ce9a63
commit
ef52f2954a
|
@ -2,11 +2,11 @@
|
||||||
# Copyright 2019 The EVMC Authors.
|
# Copyright 2019 The EVMC Authors.
|
||||||
# Licensed under the Apache License, Version 2.0.
|
# Licensed under the Apache License, Version 2.0.
|
||||||
|
|
||||||
add_library(example-vm SHARED example_vm.c)
|
add_library(example-vm SHARED example_vm.c example_vm.h)
|
||||||
add_library(evmc::example-vm ALIAS example-vm)
|
add_library(evmc::example-vm ALIAS example-vm)
|
||||||
target_link_libraries(example-vm PRIVATE evmc)
|
target_link_libraries(example-vm PRIVATE evmc)
|
||||||
|
|
||||||
add_library(example-vm-static STATIC example_vm.c)
|
add_library(example-vm-static STATIC example_vm.c example_vm.h)
|
||||||
add_library(evmc::example-vm-static ALIAS example-vm-static)
|
add_library(evmc::example-vm-static ALIAS example-vm-static)
|
||||||
target_link_libraries(example-vm-static PRIVATE evmc)
|
target_link_libraries(example-vm-static PRIVATE evmc)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue