find_package(OPENAL) does not play nice with our current library naming nonvention
This commit is contained in:
parent
3ffba79ac6
commit
e1b322b250
Notes:
blender-bot
2023-10-04 09:42:55 +02:00
Referenced by issue #38017, RGB Histogram in "display line" mode doesn't include Green channel. Referenced by issue #38018, Histogram don't takes Dither into account Referenced by issue #38004, The size of Waveform, Vectorscope and Histogram is not correct in Sequencer Referenced by issue #38002, Blender crashes (seg fault) selecting a view mode for "Preview" in Sequence Editor
|
@ -1506,18 +1506,13 @@ elseif(WIN32)
|
|||
if(WITH_OPENAL)
|
||||
set(OPENAL ${LIBDIR}/openal)
|
||||
set(OPENALDIR ${LIBDIR}/openal)
|
||||
find_package(OPENAL)
|
||||
|
||||
if(NOT OPENAL_FOUND)
|
||||
message(WARNING "Setting static openAL paths")
|
||||
set(OPENAL_INCLUDE_DIR ${OPENAL}/include)
|
||||
if(MSVC11 OR MSVC12)
|
||||
set(OPENAL_LIBRARY openal32)
|
||||
else()
|
||||
set(OPENAL_LIBRARY wrap_oal)
|
||||
endif()
|
||||
set(OPENAL_INCLUDE_DIR ${OPENAL}/include)
|
||||
if(MSVC11 OR MSVC12)
|
||||
set(OPENAL_LIBRARY openal32)
|
||||
else()
|
||||
set(OPENAL_LIBRARY wrap_oal)
|
||||
endif()
|
||||
set(OPENAL_LIBPATH ${OPENAL}/lib)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_CODEC_SNDFILE)
|
||||
|
|
Loading…
Reference in New Issue