@@ -36,6 +36,7 @@ namespace vcpkg::PlatformExpression
3636 ios,
3737 qnx,
3838 vxworks,
39+ visionos,
3940
4041 static_link,
4142 static_crt,
@@ -68,6 +69,7 @@ namespace vcpkg::PlatformExpression
6869 {" ios" , Identifier::ios},
6970 {" qnx" , Identifier::qnx},
7071 {" vxworks" , Identifier::vxworks},
72+ {" visionos" , Identifier::visionos},
7173 {" static" , Identifier::static_link},
7274 {" staticcrt" , Identifier::static_crt},
7375 {" native" , Identifier::native},
@@ -575,6 +577,8 @@ namespace vcpkg::PlatformExpression
575577 case Identifier::vxworks: return true_if_exists_and_equal (" VCPKG_CMAKE_SYSTEM_NAME" , " VxWorks" );
576578 case Identifier::wasm32: return true_if_exists_and_equal (" VCPKG_TARGET_ARCHITECTURE" , " wasm32" );
577579 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" );
578582 case Identifier::static_link:
579583 return true_if_exists_and_equal (" VCPKG_LIBRARY_LINKAGE" , " static" );
580584 case Identifier::static_crt: return true_if_exists_and_equal (" VCPKG_CRT_LINKAGE" , " static" );
0 commit comments