chore: replace naive mangohud detection with vulkan layer detection

Signed-off-by: Jan200101 <sentrycraft123@gmail.com>
This commit is contained in:
Jan200101
2022-12-11 11:01:33 +01:00
parent 514e7ae6a0
commit 2c1e887c8d
4 changed files with 129 additions and 11 deletions

View File

@ -90,6 +90,15 @@ set(CORE_SOURCES
MMCTime.h
MMCTime.cpp
)
if (UNIX AND NOT CYGWIN AND NOT APPLE)
set(CORE_SOURCES
${CORE_SOURCES}
# MangoHud
MangoHud.h
MangoHud.cpp
)
endif()
set(PATHMATCHER_SOURCES
# Path matchers