Merge branch 'master' into blender2.8
[blender.git] / build_files / cmake / platform / platform_win32.cmake
index a2fae22a96368dbf1f5fc611c248a14831fba124..58c7a749bbdf542ba69ed8667905c426c6fb144b 100644 (file)
@@ -526,22 +526,21 @@ set(WINTAB_INC ${LIBDIR}/wintab/include)
 if(WITH_OPENAL)
        set(OPENAL ${LIBDIR}/openal)
        set(OPENALDIR ${LIBDIR}/openal)
-       set(OPENAL_INCLUDE_DIR ${OPENAL}/include)
+       set(OPENAL_INCLUDE_DIR ${OPENAL}/include/AL)
        set(OPENAL_LIBPATH ${OPENAL}/lib)
        if(MSVC)
                set(OPENAL_LIBRARY ${OPENAL_LIBPATH}/openal32.lib)
        else()
                set(OPENAL_LIBRARY ${OPENAL_LIBPATH}/wrap_oal.lib)
        endif()
-       
+
 endif()
 
 if(WITH_CODEC_SNDFILE)
-       set(SNDFILE ${LIBDIR}/sndfile)
-       set(SNDFILE_INCLUDE_DIRS ${SNDFILE}/include)
-       set(SNDFILE_LIBPATH ${SNDFILE}/lib) # TODO, deprecate
-       set(SNDFILE_LIBRARIES ${SNDFILE_LIBPATH}/libsndfile-1.lib)
-       
+       set(LIBSNDFILE ${LIBDIR}/sndfile)
+       set(LIBSNDFILE_INCLUDE_DIRS ${LIBSNDFILE}/include)
+       set(LIBSNDFILE_LIBPATH ${LIBSNDFILE}/lib) # TODO, deprecate
+       set(LIBSNDFILE_LIBRARIES ${LIBSNDFILE_LIBPATH}/libsndfile-1.lib)
 endif()
 
 if(WITH_RAYOPTIMIZATION AND SUPPORT_SSE_BUILD)