Skip to content

Commit

Permalink
Merge pull request #941 from cyberway/940-fix-compilation
Browse files Browse the repository at this point in the history
Fix contracts ABI #940
  • Loading branch information
afalaleev authored Jan 28, 2020
2 parents c3082ae + 2ace14f commit f576320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ endif()

macro(add_contract_with_abi TARGET ABIFILE)
add_executable( ${TARGET}.wasm ${ARGN} )
target_compile_options( ${TARGET}.wasm PUBLIC -abigen -std=c++17)
target_compile_options( ${TARGET}.wasm PUBLIC -std=c++17)
configure_file(${ABIFILE} ${CMAKE_CURRENT_BINARY_DIR}/${TARGET}.abi COPYONLY)
install (TARGETS ${TARGET}.wasm DESTINATION ${CMAKE_INSTALL_PREFIX}/${TARGET}/)
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${TARGET}.abi DESTINATION ${CMAKE_INSTALL_PREFIX}/${TARGET}/)
Expand Down

0 comments on commit f576320

Please sign in to comment.