Display warning only if gui is not used
This commit is contained in:
parent
8293569c32
commit
009bed51cb
@ -375,8 +375,11 @@ int main(int argc, char *argv[])
|
|||||||
ctx->target_freq = vm["freq"].as<double>() * 1e6;
|
ctx->target_freq = vm["freq"].as<double>() * 1e6;
|
||||||
ctx->user_freq = true;
|
ctx->user_freq = true;
|
||||||
} else {
|
} else {
|
||||||
log_warning("Target frequency not specified. Will optimise for max frequency.\n");
|
#ifndef NO_GUI
|
||||||
}
|
if (!vm.count("gui"))
|
||||||
|
#endif
|
||||||
|
log_warning("Target frequency not specified. Will optimise for max frequency.\n");
|
||||||
|
}
|
||||||
|
|
||||||
ctx->timing_driven = true;
|
ctx->timing_driven = true;
|
||||||
if (vm.count("no-tmdriv"))
|
if (vm.count("no-tmdriv"))
|
||||||
|
Loading…
Reference in New Issue
Block a user