CMake: support building without Python

Resolve linking issues, warnings.
This commit is contained in:
2019-11-25 15:45:03 +11:00
parent b2d940250c
commit bb0708a483
9 changed files with 25 additions and 14 deletions

View File

@@ -298,6 +298,7 @@ bool user_string_to_number(
return success;
}
#else
UNUSED_VARS(C, unit, type);
*r_value = atof(str);
return true;
#endif