mirror of https://github.com/status-im/evmc.git
CMake: Move examplevm artifacts to parent dir
This commit is contained in:
parent
81ac4b62ab
commit
fda9851e96
|
@ -1,4 +1,4 @@
|
||||||
# EVMC -- Ethereum Client-VM Connector API
|
# EVMC: Ethereum Client-VM Connector API
|
||||||
# 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.
|
||||||
|
|
||||||
|
@ -6,9 +6,16 @@ include(GNUInstallDirs)
|
||||||
|
|
||||||
add_library(evmc-examplevm examplevm.c)
|
add_library(evmc-examplevm examplevm.c)
|
||||||
target_link_libraries(evmc-examplevm PRIVATE evmc)
|
target_link_libraries(evmc-examplevm PRIVATE evmc)
|
||||||
set_target_properties(evmc-examplevm PROPERTIES DEBUG_POSTFIX "")
|
set_target_properties(
|
||||||
|
evmc-examplevm PROPERTIES
|
||||||
|
DEBUG_POSTFIX ""
|
||||||
|
RUNTIME_OUTPUT_DIRECTORY ..
|
||||||
|
LIBRARY_OUTPUT_DIRECTORY ..
|
||||||
|
)
|
||||||
|
|
||||||
install(TARGETS evmc-examplevm
|
install(
|
||||||
|
TARGETS evmc-examplevm
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue