@@ -36,6 +36,7 @@ namespace vcpkg::PlatformExpression
36
36
ios,
37
37
qnx,
38
38
vxworks,
39
+ visionos,
39
40
40
41
static_link,
41
42
static_crt,
@@ -68,6 +69,7 @@ namespace vcpkg::PlatformExpression
68
69
{" ios" , Identifier::ios},
69
70
{" qnx" , Identifier::qnx},
70
71
{" vxworks" , Identifier::vxworks},
72
+ {" visionos" , Identifier::visionos},
71
73
{" static" , Identifier::static_link},
72
74
{" staticcrt" , Identifier::static_crt},
73
75
{" native" , Identifier::native},
@@ -575,6 +577,8 @@ namespace vcpkg::PlatformExpression
575
577
case Identifier::vxworks: return true_if_exists_and_equal (" VCPKG_CMAKE_SYSTEM_NAME" , " VxWorks" );
576
578
case Identifier::wasm32: return true_if_exists_and_equal (" VCPKG_TARGET_ARCHITECTURE" , " wasm32" );
577
579
case Identifier::mips64: return true_if_exists_and_equal (" VCPKG_TARGET_ARCHITECTURE" , " mips64" );
580
+ case Identifier::visionos:
581
+ return true_if_exists_and_equal (" VCPKG_CMAKE_SYSTEM_NAME" , " visionOS" );
578
582
case Identifier::static_link:
579
583
return true_if_exists_and_equal (" VCPKG_LIBRARY_LINKAGE" , " static" );
580
584
case Identifier::static_crt: return true_if_exists_and_equal (" VCPKG_CRT_LINKAGE" , " static" );
0 commit comments