cmake: Add example_vm.h file to CMake targets

This commit is contained in:
Paweł Bylica 2019-11-05 12:26:31 +01:00
parent 7074ce9a63
commit ef52f2954a
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 2 additions and 2 deletions

View File

@ -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)