Merge pull request #103 from ethereum/cmake-fix

CMake: Clean up evmc-vmtester properties
This commit is contained in:
Alex Beregszaszi 2018-08-28 11:18:32 +01:00 committed by GitHub
commit 505240d397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 11 deletions

View File

@ -9,17 +9,7 @@ find_package(CLI11)
add_executable(evmc-vmtester vmtester.hpp vmtester.cpp tests.cpp)
set_target_properties(evmc-vmtester PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
target_link_libraries(
evmc-vmtester
PRIVATE
evmc
loader
GTest::gtest
CLI11::CLI11
)
set_target_properties(evmc-vmtester PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
target_link_libraries(evmc-vmtester PRIVATE evmc loader GTest::gtest CLI11::CLI11)
install(TARGETS evmc-vmtester RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})