[*] External build chains can add _AU_DETECT_GLM to detect GLM vector support. I think trashX systems will of course be problematic because "muh global include and link directories or just use nixos"

This commit is contained in:
Reece Wilson 2021-12-26 15:50:15 +00:00
parent 92d64d6117
commit cb6ebc3b10

View File

@ -168,7 +168,7 @@ using AuStreamReadWrittenPair_t = AuPair<AuUInt32, AuUInt32>;
using AuThreadId_t = AuUInt64;
static const AuThreadId_t kThreadIdSpecialMask = AuThreadId_t(1) << AuThreadId_t(63);
#if defined(__has_include) && !defined(_AUHAS_GLM)
#if defined(__has_include) && !defined(_AUHAS_GLM) && defined(_AU_DETECT_GLM)
#if __has_include(<glm/glm.hpp>)
#define _AUHAS_GLM
#endif