OpenAL: Move Windows binaries to lib folder and fix CMake detection

The module FindOpenAL is looking for the dll in a folder called lib, not x64.
This is only used on Windows x64, it's fine to remove the platform name.
This commit is contained in:
Florent Castelli
2017-02-03 04:54:54 +01:00
parent 8bd41ad606
commit 3842a9b71c
6 changed files with 9 additions and 6 deletions
+3
View File
@@ -484,6 +484,9 @@ else()
endif()
if(ENABLE_OPENAL)
if(WIN32)
set(ENV{OPENALDIR} ${CMAKE_CURRENT_LIST_DIR}/Externals/OpenAL)
endif()
find_package(OpenAL)
if(OPENAL_FOUND)
add_definitions(-DHAVE_OPENAL=1)