mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 15:22:20 +00:00
4ab2c336e7
Not even the HAVE_LIBGME macro was defined apparently, huh.
23 lines
No EOL
399 B
CMake
23 lines
No EOL
399 B
CMake
include(LibFindMacros)
|
|
|
|
libfind_pkg_check_modules(GME_PKGCONF GME)
|
|
|
|
find_path(GME_INCLUDE_DIR
|
|
NAMES gme.h
|
|
PATHS
|
|
${GME_PKGCONF_INCLUDE_DIRS}
|
|
"/usr/include/gme"
|
|
"/usr/local/include/gme"
|
|
)
|
|
|
|
find_library(GME_LIBRARY
|
|
NAMES gme
|
|
PATHS
|
|
${GME_PKGCONF_LIBRARY_DIRS}
|
|
"/usr/lib"
|
|
"/usr/local/lib"
|
|
)
|
|
|
|
set(GME_PROCESS_INCLUDES GME_INCLUDE_DIR)
|
|
set(GME_PROCESS_LIBS GME_LIBRARY)
|
|
libfind_process(GME) |