mirror of https://github.com/status-im/evmc.git
Merge pull request #103 from ethereum/cmake-fix
CMake: Clean up evmc-vmtester properties
This commit is contained in:
commit
505240d397
|
@ -9,17 +9,7 @@ find_package(CLI11)
|
||||||
|
|
||||||
add_executable(evmc-vmtester vmtester.hpp vmtester.cpp tests.cpp)
|
add_executable(evmc-vmtester vmtester.hpp vmtester.cpp tests.cpp)
|
||||||
set_target_properties(evmc-vmtester PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
|
set_target_properties(evmc-vmtester PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
|
||||||
|
target_link_libraries(evmc-vmtester PRIVATE evmc loader GTest::gtest CLI11::CLI11)
|
||||||
target_link_libraries(
|
|
||||||
evmc-vmtester
|
|
||||||
PRIVATE
|
|
||||||
evmc
|
|
||||||
loader
|
|
||||||
GTest::gtest
|
|
||||||
CLI11::CLI11
|
|
||||||
)
|
|
||||||
|
|
||||||
set_target_properties(evmc-vmtester PROPERTIES RUNTIME_OUTPUT_DIRECTORY ..)
|
|
||||||
|
|
||||||
install(TARGETS evmc-vmtester RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
install(TARGETS evmc-vmtester RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue