Fix [goal] not falling back to default name= if engine= omitted
This commit is contained in:
parent
c7d1bd6ae4
commit
8478cd604c
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ bool goal::active() const
|
|||
void target_unit_goal::on_create()
|
||||
{
|
||||
goal::on_create();
|
||||
if (cfg_["engine"] != "cpp") {
|
||||
if (!cfg_["engine"].empty() && cfg_["engine"] != "cpp") {
|
||||
unrecognized();
|
||||
value_ = 0;
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue