[osgearth] Make all find_packages required in effort to make this port less "flaky", and turn on in CI.
MODIFY
src/vcpkg/platform-expression.cpp
src/vcpkg/platform-expression.cpp
@@ -32,6 +32,7 @@ namespace vcpkg::PlatformExpression
ios,
static_link,
+ static_crt,
};
static Identifier string2identifier(StringView name)
@@ -51,6 +52,7 @@ namespace vcpkg::PlatformExpression
{"emscripten", Identifier::emscripten},
{"ios", Identifier::ios},
{"static", Identifier::static_link},
+ {"staticcrt", Identifier::static_link},
};
auto id_pair = id_map.find(name);
@@ -398,6 +400,7 @@ namespace vcpkg::PlatformExpression
case Identifier::wasm32: return true_if_exists_and_equal("VCPKG_TARGET_ARCHITECTURE", "wasm32");
case Identifier::static_link:
return true_if_exists_and_equal("VCPKG_LIBRARY_LINKAGE", "static");
+ case Identifier::static_crt: return true_if_exists_and_equal("VCPKG_CRT_LINKAGE", "static");
default: Checks::unreachable(VCPKG_LINE_INFO);
}
}

[osgearth] Make all find_packages required in effort to make this port less "flaky", and turn on in CI. (#15777)