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:
parent
661b74f4a3
commit
6aafbaf66f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue