HomePhabricator

[cmake] Only set the native build marker once

Description

[cmake] Only set the native build marker once

Summary: As it turns out, the second time it is set override the cache, which can create strange side effects.

Test Plan:
Modify the cmake module in some trivial way.
Build with ninja, ensure that gen_context is not a problem anymore after regeneration.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5020

Details

Provenance
deadalnixAuthored on Jan 18 2020, 17:15
deadalnixPushed on Jan 18 2020, 23:22
Reviewer
Restricted Project
Differential Revision
D5020: [cmake] Only set the native build marker once
Parents
rSTAGING622df4ff0609: Add virtualsize computation to mempool
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/15659