Fix compilation error without Cycles logging
This commit is contained in:
@@ -28,13 +28,17 @@ CCL_NAMESPACE_BEGIN
|
||||
|
||||
static bool is_verbosity_set()
|
||||
{
|
||||
using CYCLES_GFLAGS_NAMESPACE::GetCommandLineOption;
|
||||
#ifdef WITH_CYCLES_LOGGING
|
||||
using CYCLES_GFLAGS_NAMESPACE::GetCommandLineOption;
|
||||
|
||||
std::string verbosity;
|
||||
if (!GetCommandLineOption("v", &verbosity)) {
|
||||
return false;
|
||||
}
|
||||
return verbosity != "0";
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
|
||||
void util_logging_init(const char *argv0)
|
||||
|
||||
Submodule release/scripts/addons updated: c43da5fa59...ae3237c4c5
Submodule release/scripts/addons_contrib updated: 5781362d81...e83541d42c
Submodule source/tools updated: 33d3969202...8598818108
Reference in New Issue
Block a user