CMake: Install evmc-vmtester

This commit is contained in:
Paweł Bylica 2018-04-11 15:29:29 +02:00
parent 8830ab0d7d
commit 2e14d57482
No known key found for this signature in database
GPG Key ID: 7A0C037434FE77EF
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,8 @@
# Copyright 2018 Pawel Bylica.
# Licensed under the MIT License. See the LICENSE file.
include(GNUInstallDirs)
hunter_add_package(Boost COMPONENTS program_options filesystem system)
find_package(Boost CONFIG REQUIRED program_options filesystem system)
@ -21,6 +23,8 @@ target_link_libraries(
${CMAKE_DL_LIBS}
)
install(TARGETS evmc-vmtester RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
add_test(NAME vmtester-help
COMMAND evmc-vmtester --help
)