CMake/ Visual Studio 14 2015, Use one library name for openal for both 2013 and 2015
authorMartijn Berger <martijn.berger@gmail.com>
Tue, 31 May 2016 12:16:29 +0000 (14:16 +0200)
committerMartijn Berger <martijn.berger@gmail.com>
Tue, 31 May 2016 12:16:29 +0000 (14:16 +0200)
CMakeLists.txt

index 2b40b9268fcac07b3d03fb2484ffdbf4e4865baa..b558fe1482049f9e509876a30c44deef2f240e3a 100644 (file)
@@ -1959,7 +1959,7 @@ elseif(WIN32)
                set(OPENAL ${LIBDIR}/openal)
                set(OPENALDIR ${LIBDIR}/openal)
                set(OPENAL_INCLUDE_DIR ${OPENAL}/include)
-               if(MSVC12)
+               if(MSVC)
                        set(OPENAL_LIBRARY openal32)
                else()
                        set(OPENAL_LIBRARY wrap_oal)