Merge remote-tracking branch 'origin/master' into blender2.8
[blender.git] / build_files / cmake / platform / platform_unix.cmake
index 75222b6663f4beb860e6ba699747a66e9b220249..32a2d6958958bf45642dde0cafb9758833c43ef2 100644 (file)
@@ -148,7 +148,7 @@ endif()
 # Codecs
 if(WITH_CODEC_SNDFILE)
        find_package_wrapper(SndFile)
-       if(NOT SNDFILE_FOUND)
+       if(NOT LIBSNDFILE_FOUND)
                set(WITH_CODEC_SNDFILE OFF)
        endif()
 endif()