diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 5d508c9118..5d20ddf7c2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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()