mirror of https://github.com/status-im/evmc.git
Fix examples build config
This commit is contained in:
parent
93fb8687e6
commit
a800ae7aa5
|
@ -1,7 +1,11 @@
|
||||||
add_library(example-vm STATIC examplevm.c)
|
add_library(example-vm STATIC examplevm.c)
|
||||||
target_link_libraries(example-vm PRIVATE evmc)
|
target_link_libraries(example-vm PRIVATE evmc)
|
||||||
target_compile_options(example-vm PRIVATE -Wno-extra)
|
if(NOT MSVC)
|
||||||
|
target_compile_options(example-vm PRIVATE -Wno-extra)
|
||||||
|
endif()
|
||||||
|
|
||||||
add_executable(example-capi capi.c)
|
add_executable(example-capi capi.c)
|
||||||
target_link_libraries(example-capi PRIVATE evmc example-vm)
|
target_link_libraries(example-capi PRIVATE evmc example-vm)
|
||||||
target_compile_options(example-capi PRIVATE -Wno-extra)
|
if(NOT MSVC)
|
||||||
|
target_compile_options(example-capi PRIVATE -Wno-extra)
|
||||||
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue