mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-12-04 01:51:11 +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)
|
find_package(OggVorbis)
|
||||||
if(${OGGVORBIS_FOUND})
|
if(${OGGVORBIS_FOUND})
|
||||||
add_definitions(-DOGG)
|
add_definitions(-DOGG)
|
||||||
list(APPEND yquake2IncludeDirectories ${OGGVORBIS_INCLUDE_DIR})
|
list(APPEND yquake2IncludeDirectories ${VORBIS_INCLUDE_DIR})
|
||||||
list(APPEND yquake2ClientLinkerFlags ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY})
|
list(APPEND yquake2ClientLinkerFlags ${OGG_LIBRARY} ${VORBIS_LIBRARY} ${VORBISFILE_LIBRARY})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue