tibia-client/src/framework/cmake/FindOgg.cmake

11 lines
393 B
CMake
Raw Normal View History

2012-04-14 02:14:25 +02:00
# 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)