CMakeLists.txt: use VORBIS_INCLUDE_DIR instead of OGGVORBIS_INCLUDE_DIR,

which doesn't seem to be set in the FindOggVorbis.cmake
This commit is contained in:
Eric Wasylishen 2018-04-07 13:44:12 -06:00
parent 43f317d981
commit a8902a0d82

View file

@ -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()