mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-03 09:32:58 +00:00
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:
parent
43f317d981
commit
a8902a0d82
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue