diff --git a/cmake/FindOgg.cmake b/cmake/FindOgg.cmake index 44496b491..9da12ed6a 100644 --- a/cmake/FindOgg.cmake +++ b/cmake/FindOgg.cmake @@ -11,7 +11,7 @@ find_library(OGG_LIBRARY ${CROSSCOMPILING_NO_CMAKE_SYSTEM_PATH} ) set_extra_dirs_include(OGG opus "${OGG_LIBRARY}") -find_path(OGG_INCLUDEDIR ogg.h +find_path(OGG_INCLUDEDIR ogg/ogg.h PATH_SUFFIXES ogg HINTS ${HINTS_OGG_INCLUDEDIR} ${PC_OGG_INCLUDEDIR} ${PC_OGG_INCLUDE_DIRS} PATHS ${PATHS_OGG_INCLUDEDIR}