From e7ca7dc6bb6ddbdea8862914907e47cb9fee5eeb Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Mon, 29 Jul 2024 00:28:17 +0200 Subject: [PATCH] Update filters --- cmake/Filter.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/Filter.cmake b/cmake/Filter.cmake index dde772f..2cdf3d2 100644 --- a/cmake/Filter.cmake +++ b/cmake/Filter.cmake @@ -4,6 +4,10 @@ function(FilterPlatformPaths sourcesVar) list(FILTER ${sourcesVar} EXCLUDE REGEX ".*GLFW.*") else () list(FILTER ${sourcesVar} EXCLUDE REGEX ".*[\\/]Host[\\/]iOS[\\/].*") + list(FILTER ${sourcesVar} EXCLUDE REGEX ".*[\\/]AR[\\/]Provider[\\/]ArKit[\\/].*") + endif () + if (NOT APPLE) + list(FILTER ${sourcesVar} EXCLUDE REGEX ".*[\\/]Host[\\/]Apple[\\/].*") endif () if (NOT LINUX) list(FILTER ${sourcesVar} EXCLUDE REGEX ".*[\\/]Host[\\/]Linux[\\/].*") @@ -15,4 +19,4 @@ function(FilterPlatformPaths sourcesVar) list(FILTER ${sourcesVar} EXCLUDE REGEX "main\.(m|mm|c|cpp)") set(${sourcesVar} ${${sourcesVar}} PARENT_SCOPE) -endfunction() \ No newline at end of file +endfunction()