Merge branch 'master' into blender2.8
[blender.git] / build_files / cmake / platform / platform_unix.cmake
index bc6ebeab97c4ffe4c71426feaa4b7f8eb865d0c2..fc9e09b73fd79b871fdbeefe7eb7bef105cffbac 100644 (file)
@@ -155,7 +155,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()