11 lines
393 B
CMake
11 lines
393 B
CMake
|
# Try to find the OGG library
|
||
|
# OGG_FOUND - system has OGG
|
||
|
# OGG_INCLUDE_DIR - the OGG include directory
|
||
|
# OGG_LIBRARY - the OGG library
|
||
|
|
||
|
FIND_PATH(OGG_INCLUDE_DIR NAMES ogg/ogg.h)
|
||
|
FIND_LIBRARY(OGG_LIBRARY NAMES libogg.a ogg)
|
||
|
INCLUDE(FindPackageHandleStandardArgs)
|
||
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Ogg DEFAULT_MSG OGG_LIBRARY OGG_INCLUDE_DIR)
|
||
|
MARK_AS_ADVANCED(OGG_LIBRARY OGG_INCLUDE_DIR)
|