mirror of https://github.com/status-im/evmc.git
CMake: Install evmc-vmtester
This commit is contained in:
parent
8830ab0d7d
commit
2e14d57482
|
@ -2,6 +2,8 @@
|
||||||
# Copyright 2018 Pawel Bylica.
|
# Copyright 2018 Pawel Bylica.
|
||||||
# Licensed under the MIT License. See the LICENSE file.
|
# Licensed under the MIT License. See the LICENSE file.
|
||||||
|
|
||||||
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
hunter_add_package(Boost COMPONENTS program_options filesystem system)
|
hunter_add_package(Boost COMPONENTS program_options filesystem system)
|
||||||
find_package(Boost CONFIG REQUIRED program_options filesystem system)
|
find_package(Boost CONFIG REQUIRED program_options filesystem system)
|
||||||
|
|
||||||
|
@ -21,6 +23,8 @@ target_link_libraries(
|
||||||
${CMAKE_DL_LIBS}
|
${CMAKE_DL_LIBS}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
install(TARGETS evmc-vmtester RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
||||||
|
|
||||||
add_test(NAME vmtester-help
|
add_test(NAME vmtester-help
|
||||||
COMMAND evmc-vmtester --help
|
COMMAND evmc-vmtester --help
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue