Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

CMake Error set_source_files_properties (Ricardian contracts with clauses) #1205

Open
chuck-h opened this issue Sep 8, 2021 · 0 comments
Open
Labels

Comments

@chuck-h
Copy link

chuck-h commented Sep 8, 2021

CMake Error at /usr/opt/eosio.cdt/1.8.1/lib/cmake/eosio.cdt/EosioCDTMacros.cmake:18 (set_source_files_properties): set_source_files_properties called with incorrect number of arguments.
with hello example when both hello.contracts.md and hello.clauses.md are present. Error does not occur when only hello.contracts.md is present.

No error if EosioCDTMacros.cmake is edited with quotes around the last argument to set_source_files_properties:
set_source_files_properties(${contract_sources} PROPERTIES OBJECT_DEPENDS "${contracts}")

ref https://eosio.stackexchange.com/a/6081/5783

eosio.cdt v1.8.1, CMake 3.10.2, Ubuntu 18.04

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants