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 authored and GitHub committed 2023-02-14 22:24:02 +03:00
1 parent 661b74f4a3
commit 6aafbaf66f
1 file changed
+1 -1
+1 -1
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)