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()