From a8902a0d82e4b75f1f3517782fa5e6c59e63c567 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Sat, 7 Apr 2018 13:44:12 -0600 Subject: [PATCH] CMakeLists.txt: use VORBIS_INCLUDE_DIR instead of OGGVORBIS_INCLUDE_DIR, which doesn't seem to be set in the FindOggVorbis.cmake --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f4f2ef31..81c09cca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,7 +110,7 @@ if(${OGG_SUPPORT}) find_package(OggVorbis) if(${OGGVORBIS_FOUND}) add_definitions(-DOGG) - list(APPEND yquake2IncludeDirectories ${OGGVORBIS_INCLUDE_DIR}) + list(APPEND yquake2IncludeDirectories ${VORBIS_INCLUDE_DIR}) list(APPEND yquake2ClientLinkerFlags ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY}) endif() endif()