Commit 8efbf7ae authored by Yixing Lao's avatar Yixing Lao Committed by Scott Cyphers

fix resource header in DEBUG build (#754)

parent 0e4c227b
...@@ -73,11 +73,12 @@ int main(int argc, char** argv) ...@@ -73,11 +73,12 @@ int main(int argc, char** argv)
for (size_t i = 1; i < argc; i++) for (size_t i = 1; i < argc; i++)
{ {
if (string(argv[i]) == "--output") string arg = argv[i];
if (arg == "--output")
{ {
output_path = argv[++i]; output_path = argv[++i];
} }
else if (string(argv[i]) == "--base_name") else if (arg == "--base_name")
{ {
base_name = argv[++i]; base_name = argv[++i];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment