This commit is contained in:
2026-03-21 17:46:28 +08:00
parent 93e794339f
commit e585ca963b
3 changed files with 3 additions and 5 deletions

View File

@@ -5,9 +5,7 @@
#ifndef _OPTIONS_H_
#define _OPTIONS_H_
#ifdef PATH
#define PROJECT_DIR PATH
#else
#ifndef PROJECT_DIR
#define PROJECT_DIR ""
#endif

View File

@@ -119,7 +119,7 @@ std::map<std::string, std::pair<std::string, void(*)(void)>> options = {
LOGM("Enable show processed image");
}
}
};
}
void processOptions(int argc, char **argv) {
if (argc >= 2) {