1
0
mirror of https://github.com/dolphin-emu/dolphin synced 2024-07-05 09:48:48 +00:00

Fix build when using mGBA in unorthodox location

Includes use `mgba/` and `mgba-util/` as part of path, making compilation fail when relying on include directory supplied here was actually needed.
This commit is contained in:
Valeri 2023-02-14 22:24:02 +03:00 committed by GitHub
parent 661b74f4a3
commit 6aafbaf66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
find_path(LIBMGBA_INCLUDE_DIR flags.h PATH_SUFFIXES mgba)
find_path(LIBMGBA_INCLUDE_DIR mgba/flags.h)
find_library(LIBMGBA_LIBRARY mgba)
mark_as_advanced(LIBMGBA_INCLUDE_DIR LIBMGBA_LIBRARY)