diff --git a/examples/examplevm/CMakeLists.txt b/examples/examplevm/CMakeLists.txt index d418218..031d6eb 100644 --- a/examples/examplevm/CMakeLists.txt +++ b/examples/examplevm/CMakeLists.txt @@ -1,4 +1,4 @@ -# EVMC -- Ethereum Client-VM Connector API +# EVMC: Ethereum Client-VM Connector API # Copyright 2018 Pawel Bylica. # Licensed under the MIT License. See the LICENSE file. @@ -6,9 +6,16 @@ include(GNUInstallDirs) add_library(evmc-examplevm examplevm.c) 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} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} +)