From eb9f4764caedfa94b8da8777e535252565d7d7b6 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Wed, 31 Jul 2024 22:21:28 +0200 Subject: [PATCH] Fix issue with detecting iOS build --- openVulkanoCpp/AR/ArSession.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openVulkanoCpp/AR/ArSession.cpp b/openVulkanoCpp/AR/ArSession.cpp index cd36b97..b234af6 100644 --- a/openVulkanoCpp/AR/ArSession.cpp +++ b/openVulkanoCpp/AR/ArSession.cpp @@ -9,10 +9,10 @@ #include "Provider/Network/ArSessionStream.h" #ifdef __APPLE__ #include -#if TARGET_OS_MAC -#include "Provider/ArSessionNull.hpp" -#else +#if TARGET_OS_IOS == 1 #include "Provider/ArKit/ArSessionArKit.h" +#else +#include "Provider/ArSessionNull.hpp" #endif #else #ifdef ANDROID