mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed: CMake should not disable OpenAL on Windows if it can't find the library (which is neither needed nor requested anymore.)
This commit is contained in:
parent
111e97e47c
commit
f625be61a2
1 changed files with 5 additions and 1 deletions
|
@ -226,7 +226,11 @@ if( NOT NO_OPENAL )
|
|||
set( ZDOOM_LIBS ${OPENAL_LIBRARY} ${ZDOOM_LIBS} )
|
||||
endif()
|
||||
else()
|
||||
set( NO_OPENAL ON )
|
||||
if ( NOT WIN32 )
|
||||
set( NO_OPENAL ON )
|
||||
else()
|
||||
include_directories( ${OPENAL_INCLUDE_DIR} )
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue