diff --git a/examples/example_precompiles_vm/CMakeLists.txt b/examples/example_precompiles_vm/CMakeLists.txt index ae092de..93390d0 100644 --- a/examples/example_precompiles_vm/CMakeLists.txt +++ b/examples/example_precompiles_vm/CMakeLists.txt @@ -4,10 +4,12 @@ add_library(example-precompiles-vm SHARED example_precompiles_vm.cpp example_precompiles_vm.h) add_library(evmc::example-precompiles-vm ALIAS example-precompiles-vm) +target_compile_features(example-precompiles-vm PRIVATE cxx_std_11) target_link_libraries(example-precompiles-vm PRIVATE evmc::evmc) add_library(example-precompiles-vm-static STATIC example_precompiles_vm.cpp example_precompiles_vm.h) add_library(evmc::example-precompiles-vm-static ALIAS example-precompiles-vm-static) +target_compile_features(example-precompiles-vm-static PRIVATE cxx_std_11) target_link_libraries(example-precompiles-vm-static PRIVATE evmc::evmc) set_source_files_properties(example_precompiles_vm.cpp PROPERTIES diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index 20fc63d..a6bca32 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -8,6 +8,7 @@ target_include_directories(evmc INTERFACE $$$) target_link_libraries(evmc_cpp INTERFACE evmc::evmc) diff --git a/test/unittests/CMakeLists.txt b/test/unittests/CMakeLists.txt index c148286..e5ea7d6 100644 --- a/test/unittests/CMakeLists.txt +++ b/test/unittests/CMakeLists.txt @@ -31,6 +31,7 @@ target_link_libraries( evmc::example-vm-static evmc::example-precompiles-vm-static evmc::instructions + evmc::evmc_cpp GTest::gtest_main ) set_target_properties(evmc-unittests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)