libs: fixed openal lib name on windows

This commit is contained in:
Remy Marquis 2015-12-13 15:50:03 +01:00
parent cd6153da1d
commit 7c275fa071

View file

@ -661,9 +661,9 @@ if(BUNDLED_OPENAL)
ExternalProject_Get_Property(bundled_openal binary_dir) ExternalProject_Get_Property(bundled_openal binary_dir)
if(VSTUDIO) if(VSTUDIO)
set(OPENAL_BUNDLED_LIBRARIES optimized "${binary_dir}/Release/openal${CMAKE_STATIC_LIBRARY_SUFFIX}" debug "${binary_dir}/Debug/openal${CMAKE_STATIC_LIBRARY_SUFFIX}") set(OPENAL_BUNDLED_LIBRARIES optimized "${binary_dir}/Release/OpenAL32${CMAKE_STATIC_LIBRARY_SUFFIX}" debug "${binary_dir}/Debug/OpenAL32${CMAKE_STATIC_LIBRARY_SUFFIX}")
elseif(NMAKE_BUILD) elseif(NMAKE_BUILD)
set(OPENAL_BUNDLED_LIBRARIES "${binary_dir}/openal${CMAKE_STATIC_LIBRARY_SUFFIX}") set(OPENAL_BUNDLED_LIBRARIES "${binary_dir}/OpenAL32${CMAKE_STATIC_LIBRARY_SUFFIX}")
else(VSTUDIO) else(VSTUDIO)
set(OPENAL_BUNDLED_LIBRARIES "${binary_dir}/libopenal${CMAKE_STATIC_LIBRARY_SUFFIX}") set(OPENAL_BUNDLED_LIBRARIES "${binary_dir}/libopenal${CMAKE_STATIC_LIBRARY_SUFFIX}")
endif(VSTUDIO) endif(VSTUDIO)