Skip to content

Commit

Permalink
Merge pull request #676 from AntelopeIO/fix_test_contract_compilation…
Browse files Browse the repository at this point in the history
…_issue_main

[1.0 -> main] restore cmake dependency needed for test contract compilation
  • Loading branch information
greg7mdp authored Aug 30, 2024
2 parents b22a806 + 22104d5 commit b7ca465
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/testing/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ configure_file(contracts.hpp.in include/testing_contracts/contracts.hpp ESCAPE_Q
add_library(eosio_testing_contracts INTERFACE)
target_include_directories(eosio_testing_contracts INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/include/testing_contracts)

if( EOSIO_COMPILE_TEST_CONTRACTS )
add_dependencies( eosio_testing_contracts testing_contracts_project)
endif()

configure_file(contracts.cpp.in contracts.cpp ESCAPE_QUOTES)

## SORT .cpp by most likely to change / break compile
Expand Down

0 comments on commit b7ca465

Please sign in to comment.