Page MenuHomePhabricator

[cmake] Only set the native build marker once
ClosedPublic

Authored by deadalnix on Jan 18 2020, 17:48.

Details

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.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.